MVC OWIN Application hosted in Azure fails with custom domain names

I am not entirely sure if this is the proper forum for OneDrive API questions, but hoping this is close enough or can be redirected.
I am working on integrating Microsoft Account authentication into my application, and in testing have based it off of the VS 2013 MVC starting template.  Everything works fine if I set my target domain and redirect url to be sitename.azurewebsites.net
/ sitename.azurewebsites.net/signin-Microsoft respectively. 
However, this site has a custom domain associated with it, so I would like to actually point to use
www.sitename.com /
www.sitename.com/signin-Microsoft under my dev account settings for this application.  When I am in this configuration, I consistently get the following error:
We're unable to complete your request
Microsoft account is experiencing technical problems. Please try again later.
Accessing www.sitename.com works fine.  How can I configure this to work with my actual domain name versus the azure name?
Thanks in advance!

Hi Rob,
Can you contact me at [email protected] with the actual domain name that you are trying to register so that I can take a closer look?
Thanks,
Toan

Similar Messages

  • Web Sharing with custom domain name

    Hi,
    I am wondering if I can use a custom domain name with the built in web sharing. Instead of it going to http://10.0.0.2/ it will be http://www.mydomain.com/. Thanks in advance.
    Ryan

    I have GoDaddy hosted domain name which I have setup to forward all web traffic to my ISP provided web page (eg http://my.webpage.ISP.com/account-name).
    There is nothing magical about that URL. So I do not see any reason why you can not use your DynDNS.org name.

  • .Mac gallery in iweb site with custom domain name

    This is my first post on the boards and I want to say that switching from pc to mac has been one of the greatest moves of my life. Anyways Im a photographer and have my own domain name. Ive created a site in iweb with .mac photo galleries on it. To upload the site I used an external ftp loader. The site looks great but when I click on the galleries it takes me to the .mac gallery page and there is no link to get back to the home page.

    When you create the link to a .Mac gallery, check the box "Open link in new window" in the "link" inspector.

  • Custom Domain name for Azure virtual machine using azure websites

    Hie, I am using a cloud service (e.g cloud1) and it has a hosted VM in it (Windows server 2012). It is having a URL cloud1.cloudapp.net. So I want to use the domain name (e.g azuresite1.azurewebsites.net)created from azure.
      So how do I add the Cname record and everything in this setup .
      I already tried to use
    this but that didn't work
     What additional steps are required to add custom domain name to an azure virtual machine and, the custom domain name is also an azure website

    If you want to use azuresite1.zurewebsites.net then i think, you have to create a azurewebsite. If you have a custom domain then following should work.
    You have findout the IP that is attached to the VM. 
    Point your domain name to that IP (using domain dashboard)
    Now your domain points to whatever the site hosted on the VM (port 80)
    If you have more sites then, you have specify HostName for the site which you want to use with domain name.
    Try and let me know if this helped.

  • Help! Azure VM Web Server and Custom Domain Names

    I am going to be pretty basic here, so I apologize at the start ;)....We are attempting to setup a web server for our customer applications in Azure. We need to setup the website with multiple subdomains i.e. ourcompany.com is the main site but we will have
    customer1.outcompany.com, customer2.ourcompany.com, etc.... 
    I have a domain name registered with GoDaddy. I have a virtual machine up and running. I have a test website up and running and can access it externally ( the net ) so I do have endpoints figured out at minimum. 
    Example. the current virtual server is ourcompany01.cloudapp.net . Our registered domain name is ourcompany.com.
    Using our domain registrar,I am able to point ourcompany.com to ourcompany01.cloudapp.net.
    The problem is that I want our customers to see ourcompany.com not ourcompany01.cloudapp.net in the browser. 
    How do I make that happen and also allow for the subddomains?
    Any help would be greatly apprciated as I am under the proverbial gun to make this happen!!!!

    Hello ShapopoJoe
    You are right about making changes in your DNS Registrar. That is the last step that is suggested in the article:
    http://azure.microsoft.com/en-us/documentation/articles/cloud-services-custom-domain-name/
    And about createing the sub domains, you will need to use the IP address. Since you would be creating more than one subdomains for your 'www.ourcompany.com', you will need to map them to Reserve IP address.
    You can refer to this link for creating more Reserve IP address:
    http://azure.microsoft.com/blog/2014/05/14/reserved-ip-addresses/
    Thanks.
    Syed Irfan Hussain

  • Deploying Azure Web Site and Custom Domain Name

    I'm new to Azure and not at all familiar with the various methods of publishing to Azure via Git, etc. I belong to the old school of plain old IIS folder structures and uploading HTML files to Inetpub directory for deploying web contents.
    I have created an Azure web site at
    http://mysite.azurewebsites.net and have added a CNAME record on our DNS server to redirect traffic from www.mydomain.com to mysite.azurewebsites.net but to no avail. I have downloaded and installed the Azure
    PowerShell but can't seem to do anything with it. Any advice on how to configure the custom domain name for my azure web site as well as how to deploy contents to it, preferrably the old school way, would be much appreciated.
    Thanks!

    Hi,
    Azure web site support several development stacks, such as .net, node.js, php, python, and different stack has different deploy process, see more at:
    http://www.windowsazure.com/en-us/documentation/services/web-sites/
    refer to
    http://www.windowsazure.com/en-us/documentation/articles/web-sites-custom-domain-name/ for more information about how to configure the custom domain.
    Best Regards
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Azure AD user name not using configured custom domain name

    I have configured a few users for Lync Online that I setup before I had custom domain name work with Azure AD.  Now I have the custom domain setup and verified and configured as the primary domain.  The users that were configured for Lync
    Online are still displayed with the *.onmicrosoft.com username in Azure AD.
    Is there a way I can change these users so their usernames use our custom domain?

    You can easily change the UPN via PowerShell:
    Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected]
    If you want to do this in bulk for all users, you can use something like this:
    $all = Get-MsolUser -All
    $users = $all | ? {$_.UserPrincipalName -match "tenant.onmicrosoft.com"}
    $users | % {Set-MsolUserPrincipalName -UserPrincipalName $_.UserPrincipalName -NewUserPrincipalName $_.UserPrincipalName.Replace("tenant.onmicrosoft.com","domain.com")}
    Test it first against a single user of course :)

  • Can I set up email with my domain name?

    My domain name and the website is set up under GypsyOwlProductions.com with Adobe Muse CC. Can I set up email with my domain name like: [email protected] I would like customers to be able to email to me from outside the website. I have set up yahoo and gmail accounts for my business, and would like the mail from (exp) [email protected] be redirected to either my gmail or yahoo. is that possible?

    HI,
    If you have Free sites with creative cloud, then these sites do not allow you to host your email with BC. You can either upgrade your website to higher site plan, or chose one of the alternative email host, given in the following link
    Business Catalyst Help | Creative Cloud Sites / Set up email
    Do let me know if you have any question.

  • Last few applications do not install, fail with "Execution status received: 24 (Application download failed )"

    Hello,
    We deploy applications using a task sequence. It does not matter which order we put the applications, the last two or three applications will not install. All of the applications install correctly when moved up in the task sequence order but
    previously working installs will fail once they are moved to the end of the list. Inside of the SMSTS logs we receive several errors listed below. I'm assuming it has to do with a space issue or limit but cannot find anything that would cause this error.
    On our distribution point the free disk space on the 1st package share priority is 100GB and 65GB on the 2nd package share priority which is at least triple the total size of all of the applicaitons being deployed. There are no errors under site status, component
    status, or under distribution point configuration status. The workstations have 300GB HDs.
    Execution status received: 24 (Application download failed).
    Installation failed.
    Install application action failed: 'AppName'. Error Code 0x80004005
    Any help is appreciated, thanks

    The CAS log shows the problem, I do have errors there. The SMS Cache was filling up so I doubled the SMSCACHESIZE attribute (SMSCACHESIZE=10240) to bypass the issue and allow all applications to install. The issue remains that
    the content is not deleted, it looks like the Error: DeleteDirectory error is not clearing installed applications.
    User policy requested with no user credentials. ContentAccess 5/23/2013 11:43:26 AM 3516 (0x0DBC)
    Invalid user. ContentAccess 5/23/2013 11:43:26 AM 3516 (0x0DBC)
    Submitted CTM job {B72D66BB-EEA7-45B8-8E9B-2B2FFDC2D601} to download Content Content_2d35848f-3fbe-4ac5-8e64-d2e7b0079ffc.1 under context System ContentAccess 5/23/2013 11:43:26 AM 3516 (0x0DBC)
    Successfully created download  request {C5F0CA27-463F-424C-86BA-3C6E3F12AEAD} for content Content_2d35848f-3fbe-4ac5-8e64-d2e7b0079ffc.1 ContentAccess 5/23/2013 11:43:26 AM 3516 (0x0DBC)
    Location update from CTM for content Content_2d35848f-3fbe-4ac5-8e64-d2e7b0079ffc.1 and request {C5F0CA27-463F-424C-86BA-3C6E3F12AEAD} ContentAccess 5/23/2013 11:43:26 AM 3284 (0x0CD4)
    Download location found 0 - xxxx ContentAccess 5/23/2013 11:43:26 AM 3284 (0x0CD4)
    Download request only, ignoring location update ContentAccess 5/23/2013 11:43:26 AM 3284 (0x0CD4)
    Download started for content Content_2d35848f-3fbe-4ac5-8e64-d2e7b0079ffc.1 ContentAccess 5/23/2013 11:43:26 AM 3140 (0x0C44)
    Download completed for content Content_2d35848f-3fbe-4ac5-8e64-d2e7b0079ffc.1 under context System ContentAccess 5/23/2013 11:43:38 AM 4008 (0x0FA8)
    Computed hash: 14C8B11451D0B7A4EE848492687679E7FB24E13A14C2B75C7D73F4A5EA49FCBD ContentAccess 5/23/2013 11:43:44 AM 4008 (0x0FA8)
    Hash verification succeeded for content Content_2d35848f-3fbe-4ac5-8e64-d2e7b0079ffc.1 downloaded under context System ContentAccess 5/23/2013 11:43:44 AM 4008 (0x0FA8)
    Saved Content ID Mapping Content_2d35848f-3fbe-4ac5-8e64-d2e7b0079ffc.1, C:\Windows\ccmcache\3 ContentAccess 5/23/2013 11:43:44 AM 4008 (0x0FA8)
    Download succeeded for download request {C5F0CA27-463F-424C-86BA-3C6E3F12AEAD} ContentAccess 5/23/2013 11:43:44 AM 4008 (0x0FA8)
    Error: DeleteDirectory:- Failed to delete Directory C:\Windows\ccmcache\3.BCWork with Error 0x00000002. ContentAccess 5/23/2013 11:43:44 AM 4008 (0x0FA8)

  • SCOM Linux discovery failed with "The user name or password is incorrect" error

    Hi every one .
    In our test environment when I want to discover a new linux computer system , discovery process fails with this error message :
    Unexpected DiscoveryResult.ErrorData type.  Please file bug report.
    ErrorData: Microsoft.SystemCenter.CrossPlatform.ClientLibrary.Common.SDKAbstraction.TaskInvocationException
    Task invocation failed with error code 1326. Error message was: The user name or password is incorrect.
       at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary`2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout)
       at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary`2 inputs, TimeSpan timeout, WorkflowInstanceExtensionManager extensions)
       at Microsoft.SystemCenter.CrossPlatform.ClientActions.DefaultDiscovery.InvokeWorkflow(IManagedObject managementActionPoint, DiscoveryTargetEndpoint criteria, IInstallableAgents installableAgents)
    But I m sure that this username and password is correct and I can logon to this computer with this credential.
    how do I find root cause of this issue ?

    I have been enabled logging before doscovery process .
    in temp directory :
    0: 02/10/15 20:03:22 : Enter SCXNameResolverProbe constructor
    0: 02/10/15 20:03:22 : Leave SCXNameResolverProbe constructor
    1: 02/10/15 20:03:22 : Enter SCXNameResolverProbe::DoInit
    1: 02/10/15 20:03:22 : XML_INIT_CALL
    1: 02/10/15 20:03:22 : Check WSAStartup
    1: 02/10/15 20:03:22 : Exit SCXNameResolverProbe::DoInit
    2: 02/10/15 20:03:22 : Enter SCXNameResolverProbe::DoProcess()
    2: 02/10/15 20:03:22 : SCXNameResolverProbe::DoProcess passed initial arguments checking
    2: 02/10/15 20:03:22 : SCXNameResolverProbe::DoProcess input: 192.168.7.62
    2: 02/10/15 20:03:22 : SCXNameResolverProbe::DoProcess - Input is an IP-address
    3: 02/10/15 20:03:22 : Enter SCXNameResolverProbe::GetName(): 192.168.7.62
    3: 02/10/15 20:03:22 : Resolve IPv4 address to host name
    3: 02/10/15 20:03:22 : Leave SCXNameResolverProbe::GetName(): SUSE11
    2: 02/10/15 20:03:22 : SCXNameResolverProbe::DoProcess returns name: SUSE11
    2: 02/10/15 20:03:22 : SCXNameResolverProbe::DoProcess returns ip: 192.168.7.62
    2: 02/10/15 20:03:22 : SCXNameResolverProbe::DoProcess returns errorcode: 0
    2: 02/10/15 20:03:22 : SCXNameResolverProbe::DoProcess returns errortext: 
    2: 02/10/15 20:03:22 : SCXNameResolverProbe::DoProcess returns xml: <NetworkName>SUSE11</NetworkName><IPAddress>192.168.7.62</IPAddress><StatusCode>0</StatusCode><StatusMessage></StatusMessage>
    2: 02/10/15 20:03:22 :  Enter initDataHolder
    2: 02/10/15 20:03:22 : Enter initDataType
    2: 02/10/15 20:03:22 : initDataType initializing output datatype
    2: 02/10/15 20:03:22 : Leave initDataType
    2: 02/10/15 20:03:22 : Leave initDataHolder
    2: 02/10/15 20:03:22 : Leave SCXNameResolverProbe::DoProcess
    4: 02/10/15 20:03:22 : Enter SCXNameResolverProbe destructor
    4: 02/10/15 20:03:22 : SCXNameResolverProbe destructor - FreeLibrary failed: 0
    4: 02/10/15 20:03:22 : Leave SCXNameResolverProbe destructor
    with debug viewer I have this message after discovery :
    [7448] A management object with display name SUSE11 could not be found.

  • How to confiture virtual hosts with multiple domain names

    hello,
    I've read through some of the postings here on virtual hosts, but I thought I'd better solicit advice before I actually try some of the things I've read about.
    In a nutshell, I've purchased multiple domain names that I'd like to alias to a new site (currently it is just a subfolder in the main site directory) on my OS 10.3.x server. There is only the one main site configured right now on the box, so I know I need to set up a second "virtual site" pointing to the files in this subfolder to make it function as its own site.
    I've dabbled around with the sites settings in the GUI, but I'd probably be most comfortable setting all this up in the httpd.conf by hand if I could. But I'm weary of this because I know it might be better to use the GUI because of OS X Server's flavor of WebObjects and Apache (sigh).
    So, I have two main questions:
    1) How would I set up this second site using the GUI in server settings? Do I need to first move the subfolder out of the main folder before it can be designated its own site? Or can I just point to it in the GUI? Can I use one of my purchased domain names in the domain field?
    2) Currently, I have URL Forwarding set with my multiple domain names, but I'm thinking there might be a better way to do this? For SEO I'd rather use some type of redirect rather than being penalized by search engines for having what looks to be multiple domains pointing to the same site.I'm thinking I should create virtual sites for each domain name I've purchased with a hard redirect back to the main site?
    Any suggestions would be appreciated.
    Thanks
    G4 Mac OS X (10.3.9) 10.3.9 Server
    G4 Mac OS X (10.3.9) 10.3.9 Server

    thank you for your reply.
    > You can create each site as a new Site in Server
    Admin. When you do this you can choose any
    directory on disk as the document root for each
    site.This means you can move the sites' folders out of
    /Library/WebServer/Documents if you like - you could
    create /Library/WebServer/site1,
    /Library/WebServer/site2, etc. (or even be outside of
    /Library/WebServer if you want).
    so, are you are saying that I could designate one site to be
    /Library/WebServer/Documents/site1
    and another to be
    /Library/WebServer/Documents/site1/directory1
    even though directory1 is contained within site1's structure? I'm not advancing this as a good idea, necessarily. I'm just wondering if Apache would complain.
    > Each site should have the domain name set as per your
    registered domains. Apache will need this to
    determine the correct site to serve for each
    request.
    Well, after some additional research I'm thinking I'm missing a critical piece of the puzzle. That being access to the DNS host server that manages the context of my server. I have purchased domain names through an outside registrar that point to my site and I can create virtual hosts on my server, but I don't have the ability to add the new virtual host names into the DNS server that manages my box. If that makes sense. Or maybe I'm missing something?
    >
    I'm not sure why you're using URL forwarding at all.
    Without that piece of information it's impossible to
    tell you whether you should continue using them or
    not - in general there's no need to use URL
    forwarding if you have multiple Virtual Hosts setup,
    but it sounds like you have multiple hostnames
    pointing to the same content, so your needs may be
    different.
    I'm using forwarding for the reason I list above. I didn't purchase hosting with the registrar where I purchased my domain names, so they are parked on the registrar's name server with URL forwarding to my server. The DNS server that manages my box resides in a different location and I don't have the ability to add DNS entries pointing to virtual hosts that I want to set up. Am I stuck?
    G4 Mac OS X (10.3.9) 10.3.9 Server

  • How does work Azure web sites with custom domain?

    I am new in Azure. I am going to create a website or cloud service in Azure. Then I would like client to access them from custom domain, such as myweb.mydomain.com actually will map to real site/service in Azure.
    In this case, will client see the real URL in browser? Or they can see this redirection from their network traffic monitoring?
    I wonder their IT may only allow user access *.mydomain.com and block any traffic to third party DNS.

    Hi
    Your Azure website in terms of hosting web apps is just like other web hosting services so when you register a tenant and add a domain, you need to verify that domain by setting the DNS for the tenant you created to your domain's admin control panel.
    Here is the reference on how you can do this:
    https://msdn.microsoft.com/en-us/library/azure/hh969247.aspx
    Regards
    Aram

  • ReportViewer & IReportServerCredentials WORKS within Domain; FAILS with Cross-Domain request:HTTP status 401: Unauthorized

    The IReportServerCredentials approach with the ReportViewer control is working fine within a domain, but I get a 401 not authorized error for a Web IIS server trying to call a SSRS server in another domain. I've see plenty of helpful postings on the use
    of IReportServerCredentials but nothing that provides suggestions for this cross domain issue. Hope someone has some ideas on this one. Thanking you in advance for your response.
    Using VS 2008 VB.NET web app with ReportViewer control Version=8.0.0.0.
    Outside domainA Web Server IIS 8. OS = Windows NT 6.2;
    Inside domainA Windows 7 desktop; Inside domainA Windows Server 2003
    SSRS using windows authentication and on SQL Server 2012. OS = Windows NT 6.2
    The processing described below successfully produces a report when the web server app runs on a machine in the same domain as the SSRS server. For the "same domain" web app, both Win 7 desktop VS 2008 development server and Windows 2003 IIS 6 have
    been tested successfully.
    The report fails with error "The request failed with HTTP status 401: not authorized " when the web app is run from a windows IIS 8 machine (outward or Internet facing web server) that is not in the domain of the SSRS server. The ReportViewer control
    credentials (provided by IReportServerCredentials and taken from the web.config file) match a domain account in the same domain as the SSRS
    server and one that has browser permission on the report folder. The same credentials are used successfully for reports requested from within the SSRS domain.
    One interesting thing is that on the Internet facing web server, I can access the report via a browser request. So it is possible to have a user request coming from the Internet facing machine get through the SSRS windows authentication. Just does not
    work for the ReportViewer.
    Using IReportServerCredentials interface per example provided by Microsoft msdn site. Code listed below.
    IReportServerCredentials would appear to be a viable approach because it can pass credentials of a windows account known to the SSRS server, but not known to the client machine. By the way, database calls to SQL Server in domainA using a SQL Server
    native login account work fine. So the network support communication to a domain that the web server does not belong to.
    <Serializable()> _
    Public NotInheritable Class MyReportServerCredentials
        Implements IReportServerCredentials
        Public ReadOnly Property ImpersonationUser() As System.Security.Principal.WindowsIdentity _
            Implements IReportServerCredentials.ImpersonationUser
            Get
                'Use the default windows user.  Credentials will be
                'provided by the NetworkCredentials property.
                Return Nothing
            End Get
        End Property
        Public ReadOnly Property NetworkCredentials() As ICredentials _
                Implements IReportServerCredentials.NetworkCredentials
            Get
                'Read the user information from the web.config file. 
                'By reading the information on demand instead of storing
                'it, the credentials will not be stored in session,
                'reducing the vulnerable surface area to the web.config
                'file, which can be secured with an ACL.
                'User name
                Dim userName As String = _
                    ConfigurationManager.AppSettings("MyReportViewerUser")
                If (String.IsNullOrEmpty(userName)) Then
                    Throw New Exception("Missing user name from web.config file")
                End If
                'Password
                Dim password As String = _
                    ConfigurationManager.AppSettings("MyReportViewerPassword")
                If (String.IsNullOrEmpty(password)) Then
                    Throw New Exception("Missing password from web.config file")
                End If
                'Domain
                Dim domain As String = _
                    ConfigurationManager.AppSettings("MyReportViewerDomain")
                If (String.IsNullOrEmpty(domain)) Then
                    Throw New Exception("Missing domain from web.config file")
                End If
                Return New NetworkCredential(userName, password, domain)
            End Get
        End Property
        Public Function GetFormsCredentials(ByRef authCookie As Cookie, _
                       ByRef userName As String, _
                       ByRef password As String, _
                       ByRef authority As String) As Boolean _
            Implements IReportServerCredentials.GetFormsCredentials
            authCookie = Nothing
            userName = Nothing
            password = Nothing
            authority = Nothing
            'Not using form credentials
            Return False
        End Function
    End Class
    'Set the ReportViewer values and retrieve the report from the SSRS server into a pdf file on the client machine.
    ProposalRptViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote
    ' Set the ReportViewer ReportServerCredentials from the MyReportServerCredentials Class.
    ' Note the credentials are for a domain account defined in the same domain that the SSRS server belongs to and one that has browser permission on the report folder.
    ProposalRptViewer.ServerReport.ReportServerCredentials = _
         New MyReportServerCredentials()
    ProposalRptViewer.ServerReport.ReportServerUrl = New Uri(System.Configuration.ConfigurationManager.AppSettings(Web.[Global].CfgKeyReportServerURL))
    ProposalRptViewer.ServerReport.ReportPath = System.Configuration.ConfigurationManager.AppSettings(Web.[Global].CfgKeyReportPathProposal)
    ProposalRptViewer.ShowCredentialPrompts = False     ' disable prompting for data source credentials
    Dim paramList As New Generic.List(Of ReportParameter)
    Dim pInfo As ReportParameterInfoCollection
    pInfo = ProposalRptViewer.ServerReport.GetParameters()
    paramList.Add(New ReportParameter("ProposalID", ProposalID, True))paramList.Add(New ReportParameter("Entity", Entity, True))
    paramList.Add(New ReportParameter("intRatesPage", intRatesPage1, True))
    ProposalRptViewer.ServerReport.SetParameters(paramList)
    ' Process and render the report
    ProposalRptViewer.ServerReport.Refresh()
    Dim mimeType As String = Nothing
    Dim encoding As String = Nothing
    Dim streams As String() = Nothing
    Dim extension As String = Nothing
    Dim warnings As Microsoft.Reporting.WebForms.Warning() = Nothing
    Dim returnValue As Byte()
    ' Render the proposal Rate Page 1 report to a Byte Array output in pdf file format.
    returnValue = ProposalRptViewer.ServerReport.Render("PDF", Nothing, mimeType, encoding, extension, streams, warnings)
    An error only occurs for web server not in the domain of SSRS Server:
    The request failed with HTTP status 401: Unauthorized.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack
    trace below.
    Stack Trace:
    [WebException: The request failed with HTTP status 401: Unauthorized.]
       Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods() +236
       Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname) +58
       Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.SetConnectionSSLForMethod(String methodname) +16
       Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID) +226
       Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +192
       Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) +136
       DeltaRater.Web.ViewRates.btnCreateProposal_Click(Object sender, EventArgs e) in C:\alex\~~_____Rapid_Rater\SourceDir_VS2008_Jan17_2014\DRR\ViewRates.aspx.vb:911
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981
    Version Information: Microsoft .NET Framework Version:2.0.50727.8009; ASP.NET Version:2.0.50727.8010

    I got the answer to my question by following suggestions by Irb on another technical forum.
    From web server (not on same domain), I was passing credentials of a domain account on the SSRS server. Irb suggested I create a local account on the SSRS server and pass those credentials. I tried this but got the same results.
    This approach worked for web server in SSRS domain, but failed with 401 Unauthorized for web server outside the SSRS domain. Per suggestion for local account on SSRS server, I tried passing empty string "" as the domain via IReportServerCredentials.
    Again this works for web server in the same domain as SSRS. But I get the 401 Unauthorized error when the web server is outside the domain. In testing and checking similar posts, I discovered an additional piece was required for the report request to work
    across domains. The default user did not have authority to send the request and/or receive the report. Adding the following in <system.web> section of web.config file was needed.
    <identity impersonate="true" userName="localwindowsuser" password="#########"/>          where "localwindowsuser" is a windows user defined on the web server.
    I never needed this extra piece when the web server ran in the same domain as the SSRS server. I thank Irb for making me go through the details of additional tests because that is how I stumbled across an identity comment and ultimately got things working.

  • MBAM 2.5 Reports Fail with "Invalid object name 'v_GS_MBAM_POLICY'."

    Utilizing the SSRS Reports for MBAM 2.5 Integrated into Configuration Manager 2012 R2 Cu3, when I run the reports it states that the view
    'v_GS_MBAM_POLICY'  does not exist.
    The complexing thing though is that there are computers that are reporting the HINV Class called 'Win32Reg_MBAMPolicy'  So I would think this view would have been created.
    Does anyone know the process by which the view gets generated since my HINV is reporting back the information, yet the view has not been created in the DB yet... It makes no sense.
    The error is:
    Microsoft.Reporting.WinForms.ReportServerException
    An error has occurred during report processing. (rsProcessingAborted)
    Stack Trace:
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)
       at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()
       at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    Microsoft.Reporting.WinForms.ReportServerException
    Query execution failed for dataset 'ComplianceDetails'. (rsErrorExecutingCommand)
    Stack Trace:
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)
       at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()
       at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    Microsoft.Reporting.WinForms.ReportServerException
    Invalid object name 'v_GS_MBAM_POLICY'.
    Stack Trace:
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)
       at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()
       at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    David Baur

    We ran into this error as well. Turns out that MBAM-provided reports to SCCM 2012 fail with an error unless the Win32Reg_MBAMPolicy class is added to SCCM, which also updates the SCCM SQL with required Views, including "v_GS_MBAM_POLICY".
    The solution that we finally came up with was to import an updated MOF file to include the BitLocker Policy (Win32Reg_MBAMPolicy) class into the "Hardware Inventory" section of the Default Client Policy. Once the import is complete SQL also gets
    the appropriate view created.
    The instructions on how to create and import the MOF file can be found in the link below.
    http://technet.microsoft.com/en-US/library/dn237295.aspx
    Chris Keene
    Product Specialist at Wave.

  • Export fails with auto generated name containing ' || etc...

    Hi,
    If I try to export to "TEXT" from a query that has a autogenerated name containing the following:
    select 'select count(*),'||COLUMN_NAME||' from ' || table_name || ' group by ' ||COLUMN_NAME||';'
    The export fails with an ORA-00904.
    The obvious workaround is to name the select parameter as in
    select 'select count(*),'||COLUMN_NAME||' from ' || table_name || ' group by ' ||COLUMN_NAME||';' text
    But I thought I should mention it.
    Thanks,
    Orjan

    I'll pass this on for someone to look at.
    -kris

Maybe you are looking for

  • Creation of A/R Down Payment Invoice  based on Sales Order not logical

    When creating a A/R Down Payment Invoice based on a Sales Order you have the option to create multible ones. Which by itself could be usefull to create one of 50 % for a certain day and decide they need to pay another 25 % at a later date. But SBO do

  • Mulipe router/switch/hub home setup

    Home Network Port Set-Up My home network is as shown in the figure below: (Can not attach graphics so I explain: 4 port speedtouch router connects to the ISP. On this I have hung x-Canon iP5200R network and wireless printer. y-AirportExtreme On the A

  • Cancel po shipment auto-approve

    Now in R12.1.3 when cancelling a po shipment the document status gets needs re-approval. We want this automatically to status approved after this action. This was working just fine in 12.1.1. How can we change this in 12.1.3.?

  • PDF Gallery that also would open as a slideshow.

    In PS CS4, I used to select to output a selection of images as a neat PDF that also would open as a slideshow. In PS 2014, this option has gone! Any idea how you do this now?

  • Decimal and non-decimal in Smartforms

    Hi all, I have a weird request on the form change. The change is to print the LFIMG value to 3 decimal point .000 For example, if the value is 2,000.010, then print 2,000.010 but if the value is 2,000.000 then print 2,000 Could someone guide me how h