Ошибка hostname could not be parsed

Back from my weekend and went to debug my web project which is an ASP.NET Core Web Api. It started giving me an error: Invalid URI: The hostname could not be parsed.

I can start a new asp.net core web api project and it debugs fine so I’m pretty sure its something with my configuration for this project. Any ideas?

James

asked Mar 14, 2017 at 14:59

James Scott's user avatar

1

Solution:

  1. Close Visual Studio
  2. Remove .vs folder

Fixed:)

answered May 15, 2017 at 14:37

szubajak's user avatar

szubajakszubajak

4367 silver badges12 bronze badges

4

I post this answer because many people found my comment useful. Thanks to @joshcomley for poking me.

Hopefully this answer will help someone:

  1. In your solution folder find subfolder named .vs (note, this folder has a hidden attribute, so File Explorer does not show it by default)
  2. Open .vs/config/applicationhost.config file
  3. Inside the file find element like <site name="<Your_Web_Site_Name>" ..... You can have several elements like this. You need to pick one where <Your_Web_Site_Name> matches the name of your site
  4. Inside <site element find a child element like:

<binding protocol="http" bindingInformation=":8080:localhost" />

and replace it with:

<binding protocol="http" bindingInformation=":8080:" />

  1. Rebuild solution and Run website

Notes:

  • The port number 8080 is given as an example. You should assign the port that you actually use for the website.
  • This fix works for websites hosted in IISExpress. It also allows to avoid error message like Invalid URI: The hostname could not be parsed.
  • If your website is using IIS, you may try to replace binding with this line:
    <binding protocol="http" bindingInformation="*:8080:*" />. And do iisreset after this change.

answered Feb 21, 2018 at 7:45

VeganHunter's user avatar

VeganHunterVeganHunter

5,5242 gold badges25 silver badges25 bronze badges

3

I was having the same issue and tried other suggestions in this post, but it didn´t work. So I went to Properties of the project -> Debug -> WebServer Settings
There I´ve replaced the * with localhost and that solved the issue for me.
Properties capture

answered May 20, 2020 at 8:33

Javier Pazos's user avatar

1

Jakub’s answer does fix the issue because it causes Visual Studio to regenerate applicationhost.config. In my case, the error was saying that the value of the <binding> tag could not be parsed. I had the following:
<binding protocol="http" bindingInformation="*:5000:*" />
which when regenerated looked like this:
<binding protocol="http" bindingInformation="*:5000:localhost" />
The file is found inside the «.vs» folder’s «config» subfolder, and instead of deleting the whole directory, you can just fix/restore your <binding> tag to a value that can be parsed.

Edit: per @VeganHunter’s comment, * is not a valid hostname. If you want it to bind to all hostnames just leave the host blank. Ex: *:80: instead of *:80:* means «All network interfaces/IPs, on port 80, for all hostnames».

answered Jun 27, 2017 at 17:14

QuickDanger's user avatar

QuickDangerQuickDanger

1,03211 silver badges18 bronze badges

2

This error indicates that your bindingInformation for the site is not in the correct format.

The value for bindingInformation consists of three parts.

ip:port:host

Here are some formats of bindings and their result:

<!-- Configures the site with a hostname of "www.test.com" on port 80 for the IP address of 192.168.1.10. -->
<binding protocol="http" bindingInformation="192.168.1.10:80:www.test.com" />

<!-- Configures the site with a hostname of "localhost" on port 80 for the IP address of 192.168.1.10. -->
<binding protocol="http" bindingInformation="192.168.1.10:80:localhost" />

<!-- Configures the site without a hostname and IP address on port 80. You'd use this setting to make your site directly accessible via any address that the system has, including the localhost address at 127.0.0.1, as well as any and all configured IP addresses. -->
<binding protocol="http" bindingInformation=":80:" />

<binding protocol="https" bindingInformation="*:443:" />
<!-- Configures HTTPS bindings for all IP addresses over port 443. -->

With all the above bindings, you can set the protocol to https to make your site accessible only through SSL.

answered Feb 16, 2018 at 12:20

chaosifier's user avatar

chaosifierchaosifier

2,63624 silver badges39 bronze badges

My answer is a variant from @Javier Pazos

In my case, going to the the project properties, my URI was correct,
enter image description here

However, my Environment Variables were wrong (this happened after updating VS)
enter image description here

So, here replace the «*» for localhost

answered Nov 9, 2022 at 22:02

DReact's user avatar

DReactDReact

5565 silver badges6 bronze badges

I was getting similar issue and running the Visual Studio in Administrator mode resolved the issue for me.

answered Aug 19, 2019 at 15:27

Ayush's user avatar

AyushAyush

4752 gold badges5 silver badges18 bronze badges

I recently came across this issue. I tried to use the drive mapping workaround like @drwatson85 mentioned. This issue went away; however, I started encountering other issues. Odd issues.

The visual studio IDE compiler was not keeping up with my changes. Like i’ll add a public property on a class and i was unable to reference that property in another file. It was saying the property didn’t exist. I was able to do a compile just fine though.

Also the «Errors» window would not update when there was a valid compilation error. I removed a public static from a static class and it was properly failing the build, but the errors was not showing anything. I had to look at the output to see what was hte issue.

And finally, while debugging a unit test it would complain that the source was modified and i could either stop the debug or edit. I didn’t make any changes to the source file at all, and git was not detecting any code changes either.

These issues are in regards to Visual Studio 2019 Professional, version Version 16.10.0. Also these oddities were appeaing in our unit test project which had project references to the main code. The unit test project is using:

  • NUnit 3.16.1
  • NUnit3TestAdapter 3.16.1
  • Microsoft.NET.Test.Sdk 16.5.0
  • Question

  • when i use RS mail subscription, i meet some error. some of lines of error report contains:

    Invalid URI: The hostname could not be parsed. i do not know it’s the root problem or not.

    please see the error log below:

    <Header>
      <Product>Microsoft SQL Server Reporting Services Version 2007.0100.2746.00 ((Katmai_SP1_QFE-CU).091109-1630 )</Product>
      <Locale>English (United States)</Locale>
      <TimeZone></TimeZone>
      <Path>C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesLogfilesReportServerService__11_27_2009_22_11_29.log</Path>
      <SystemName>CRDMETFS</SystemName>
      <OSName>Microsoft Windows NT 6.0.6002 Service Pack 2</OSName>
      <OSVersion>6.0.6002</OSVersion>
      <ProcessID>4988</ProcessID>
    </Header>rshost!rshost!1d98!11/27/2009-22:11:29:: i INFO: CLR runtime is initialized.
    rshost!rshost!1d98!11/27/2009-22:11:29:: i INFO: Derived memory configuration based on physical memory as 2097024 KB
    appdomainmanager!DefaultDomain!d0c!11/27/2009-22:11:29:: i INFO: Entered managed ServiceMain in DefaultDomain.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing ConnectionType to ‘0’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing SecureConnectionLevel to ‘0’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing CleanupCycleMinutes to ’10’ minute(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing MaxActiveReqForOneUser to ’20’ requests(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing DatabaseQueryTimeout to ‘120’ second(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing RunningRequestsScavengerCycle to ’60’ second(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing RunningRequestsDbCycle to ’60’ second(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing RunningRequestsAge to ’30’ second(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing MaxScheduleWait to ‘5’ second(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing DisplayErrorLink to ‘True’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing WebServiceUseFileShareStorage to ‘False’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing WatsonFlags to ‘1064’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing WatsonDumpOnExceptions to ‘Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException,Microsoft.ReportingServices.Modeling.InternalModelingException,Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing WatsonDumpExcludeIfContainsExceptions to ‘System.Threading.ThreadAbortException,System.Web.UI.ViewStateException,System.OutOfMemoryException,System.Web.HttpException,System.IO.IOException,System.IO.FileLoadException’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing AuthenticationTypes to ‘4’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing EnableAuthPersistence to ‘True’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing IsSchedulingService to ‘True’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing IsNotificationService to ‘True’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing IsEventService to ‘True’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing PollingInterval to ’10’ second(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing WindowsServiceUseFileShareStorage to ‘False’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing MemorySafetyMargin to ’80’ percent as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing MemoryThreshold to ’90’ percent as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing RecycleTime to ‘720’ minute(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing MaxAppDomainUnloadTime to ’30’ minute(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing MaxQueueThreads to ‘0’ thread(s) as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing IsWebServiceEnabled to ‘True’  as specified in Configuration file.
    library!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Initializing IsReportManagerEnabled to ‘True’  as specified in Configuration file.
    configmanager!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Using report server internal url http://localhost:80/ReportServer.
    configmanager!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Using report server external url http://CRDMETFS:80/ReportServer.
    configmanager!DefaultDomain!d14!11/27/2009-22:11:29:: i INFO: Using url root http://+:80.
    appdomainmanager!DefaultDomain!d14!11/27/2009-22:11:30:: i INFO: Appdomain:2 WindowsService_0 started.
    resourceutilities!WindowsService_0!d14!11/27/2009-22:11:30:: i INFO: Reporting Services starting SKU: Enterprise
    resourceutilities!WindowsService_0!d14!11/27/2009-22:11:30:: i INFO: Evaluation copy: 0 days left
    resourceutilities!WindowsService_0!d14!11/27/2009-22:11:30:: i INFO: Running on 2 physical processors, 4 logical processors
    rshost!rshost!1ff4!11/27/2009-22:11:30:: i INFO: Registered url=http://+:80/ReportServer/, vdir=/ReportServer, pdir=C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesReportServer.
    rshost!rshost!1ff4!11/27/2009-22:11:30:: i INFO: Currently registered url http://+:80/ReportServer/ on endpoint 2
    rshost!rshost!1f20!11/27/2009-22:11:30:: i INFO: Registered url=http://+:80/Reports/, vdir=/Reports, pdir=C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesReportManager.
    rshost!rshost!1f20!11/27/2009-22:11:30:: i INFO: Currently registered url http://+:80/Reports/ on endpoint 3
    rshost!rshost!11dc!11/27/2009-22:11:30:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer/ReportBuilder, pdir=C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesReportServerReportBuilder.
    resourceutilities!DefaultDomain!d14!11/27/2009-22:11:30:: i INFO: Reporting Services starting SKU: Enterprise
    resourceutilities!DefaultDomain!d14!11/27/2009-22:11:30:: i INFO: Evaluation copy: 0 days left
    rshost!rshost!d14!11/27/2009-22:11:30:: i INFO: Derived memory configuration based on physical memory as 2097024 KB
    rpcserver!DefaultDomain!11dc!11/27/2009-22:11:30:: i INFO: Process monitoring started.
    servicecontroller!DefaultDomain!1ff4!11/27/2009-22:11:30:: i INFO: Total Physical memory: 4293480448
    library!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Catalog SQL Server Edition = Enterprise
    crypto!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Initializing crypto as user: NT AUTHORITYSYSTEM
    crypto!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Exporting public key
    crypto!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Performing sku validation
    crypto!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Importing existing encryption key
    dbpolling!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: EventPolling polling service started
    dbpolling!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: NotificationPolling polling service started
    dbpolling!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: SchedulePolling polling service started
    dbpolling!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: UpgradePolling polling service started
    dbpolling!WindowsService_0!1934!11/27/2009-22:11:30:: i INFO: HeartbeatThread(EventPolling): heartbeat thread started.
    dbpolling!WindowsService_0!1f20!11/27/2009-22:11:30:: i INFO: HeartbeatThread(NotificationPolling): heartbeat thread started.
    dbpolling!WindowsService_0!1e78!11/27/2009-22:11:30:: i INFO: PollingMaintenance: Polling started
    runningjobs!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Database Cleanup (NT Service) timer enabled: Next Event: 600 seconds.  Cycle: 600 seconds
    runningjobs!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Execution Log Entry Expiration timer enabled: Next Event: 13709 seconds.  Cycle: 86400 seconds
    runningjobs!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: SQM timer timer enabled: Next Event: 17309 seconds.  Cycle: 86400 seconds
    rpcserver!DefaultDomain!1bcc!11/27/2009-22:11:30:: i INFO: RPC Server started.
    servicecontroller!DefaultDomain!1bcc!11/27/2009-22:11:30:: i INFO: RPC Server started. Endpoint name =’ReportingServices$MSRS10.MSSQLSERVER’
    appdomainmanager!WindowsService_0!1bcc!11/27/2009-22:11:30:: i INFO: Appdomain:2 WindowsService_0 initialized.
    library!DefaultDomain!1bcc!11/27/2009-22:11:38:: i INFO: Catalog SQL Server Edition = Enterprise
    appdomainmanager!DefaultDomain!d0c!11/27/2009-22:11:55:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-129038047152071336 started.
    appdomainmanager!ReportManager_0-1!d0c!11/27/2009-22:11:55:: i INFO: RS authentication mode is 4; effective ASP.NET authentication mode is Windows. vdir=/Reports.
    appdomainmanager!DefaultDomain!d0c!11/27/2009-22:11:55:: i INFO: Appdomain:3 ReportManager_MSSQLSERVER_0-1-129038047152071336 initialized (#1).
    appdomainmanager!DefaultDomain!d70!11/27/2009-22:11:58:: i INFO: Appdomain:4 ReportServer_MSSQLSERVER_0-2-129038047184797202 started.
    appdomainmanager!ReportServer_0-2!d70!11/27/2009-22:11:59:: i INFO: RS authentication mode is 4; effective ASP.NET authentication mode is Windows. vdir=/ReportServer.
    appdomainmanager!DefaultDomain!d70!11/27/2009-22:11:59:: i INFO: Appdomain:4 ReportServer_MSSQLSERVER_0-2-129038047184797202 initialized (#1).
    webserver!ReportServer_0-2!d70!11/27/2009-22:12:08:: i INFO: Reporting Web Server started
    resourceutilities!ReportServer_0-2!d70!11/27/2009-22:12:08:: i INFO: Reporting Services starting SKU: Enterprise
    resourceutilities!ReportServer_0-2!d70!11/27/2009-22:12:08:: i INFO: Evaluation copy: 0 days left
    resourceutilities!ReportServer_0-2!d70!11/27/2009-22:12:08:: i INFO: Running on 2 physical processors, 4 logical processors
    runningjobs!ReportServer_0-2!d70!11/27/2009-22:12:08:: i INFO: Running Requests Scavenger timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    runningjobs!ReportServer_0-2!d70!11/27/2009-22:12:08:: i INFO: Running Requests DB timer enabled: Next Event: 60 seconds.  Cycle: 60 seconds
    library!ReportServer_0-2!d70!11/27/2009-22:12:09:: Call to GetPermissionsAction(/).
    library!ReportServer_0-2!d70!11/27/2009-22:12:09:: i INFO: Catalog SQL Server Edition = Enterprise
    crypto!ReportServer_0-2!d70!11/27/2009-22:12:09:: i INFO: Initializing crypto as user: NT AUTHORITYSYSTEM
    crypto!ReportServer_0-2!d70!11/27/2009-22:12:09:: i INFO: Exporting public key
    crypto!ReportServer_0-2!d70!11/27/2009-22:12:09:: i INFO: Performing sku validation
    crypto!ReportServer_0-2!d70!11/27/2009-22:12:09:: i INFO: Importing existing encryption key
    library!ReportServer_0-2!d70!11/27/2009-22:12:09:: Call to GetPropertiesAction(/, PathBased).
    library!ReportServer_0-2!d70!11/27/2009-22:12:09:: Call to GetSystemPermissionsAction().
    library!ReportServer_0-2!d70!11/27/2009-22:12:09:: Call to GetPoliciesAction(/).
    library!ReportServer_0-2!d70!11/27/2009-22:12:09:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:22:: Call to GetPermissionsAction(/).
    library!ReportServer_0-2!f88!11/27/2009-22:12:22:: Call to GetPropertiesAction(/, PathBased).
    library!ReportServer_0-2!f88!11/27/2009-22:12:22:: Call to GetSystemPermissionsAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:22:: Call to ListChildrenAction(/, False).
    library!ReportServer_0-2!f88!11/27/2009-22:12:22:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:22:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:22:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!1994!11/27/2009-22:12:24:: Call to GetPermissionsAction(/AvgVar).
    library!ReportServer_0-2!1994!11/27/2009-22:12:24:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!1994!11/27/2009-22:12:24:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!1994!11/27/2009-22:12:24:: Call to GetSystemPermissionsAction().
    library!ReportServer_0-2!1994!11/27/2009-22:12:24:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!1994!11/27/2009-22:12:24:: Call to ListEventsAction().
    ui!ReportManager_0-1!f88!11/27/2009-22:12:24:: i INFO: PageCountMode ‘Estimate’ read from config file
    library!ReportServer_0-2!1994!11/27/2009-22:12:25:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:28:: Call to GetPermissionsAction(/AvgVar).
    library!ReportServer_0-2!f88!11/27/2009-22:12:28:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:28:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!f88!11/27/2009-22:12:28:: Call to GetSystemPermissionsAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:28:: Call to ListSubscriptionsAction(/AvgVar, null).
    library!ReportServer_0-2!f88!11/27/2009-22:12:28:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!f88!11/27/2009-22:12:28:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:29:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!f88!11/27/2009-22:12:29:: Call to GetSystemPermissionsAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:29:: Call to GetPermissionsAction(/AvgVar).
    library!ReportServer_0-2!f88!11/27/2009-22:12:29:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode., ;
     Info: Microsoft.ReportingServices.Diagnostics.Utilities.OperationNotSupportedNativeModeException: This operation is not supported on a report server that runs in native mode.
    library!ReportServer_0-2!f88!11/27/2009-22:12:29:: Call to GetReportParametersAction(/AvgVar).
    extensionfactory!ReportManager_0-1!1994!11/27/2009-22:12:30:: w WARN: The extension Report Server Email does not have a LocalizedNameAttribute.
    extensionfactory!ReportManager_0-1!1994!11/27/2009-22:12:30:: w WARN: The extension Report Server FileShare does not have a LocalizedNameAttribute.
    library!ReportServer_0-2!f88!11/27/2009-22:12:30:: Call to ListSchedulesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:30:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:37:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!f88!11/27/2009-22:12:37:: Call to GetSystemPermissionsAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:37:: Call to GetPermissionsAction(/AvgVar).
    library!ReportServer_0-2!f88!11/27/2009-22:12:37:: Call to GetReportParametersAction(/AvgVar).
    library!ReportServer_0-2!f88!11/27/2009-22:12:37:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!d0c!11/27/2009-22:12:44:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!d0c!11/27/2009-22:12:44:: Call to GetSystemPermissionsAction().
    library!ReportServer_0-2!d0c!11/27/2009-22:12:44:: Call to GetPermissionsAction(/AvgVar).
    library!ReportServer_0-2!d0c!11/27/2009-22:12:44:: Call to GetReportParametersAction(/AvgVar).
    library!ReportServer_0-2!d0c!11/27/2009-22:12:44:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetSystemPermissionsAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetPermissionsAction(/AvgVar).
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetReportParametersAction(/AvgVar).
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to CreateSubscriptionAction().
    subscription!ReportServer_0-2!f88!11/27/2009-22:12:58:: Subscription Created for report /AvgVar at 2009-11-27T22:12:58 by wangale
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetPermissionsAction(/AvgVar).
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetSystemPropertiesAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetSystemPermissionsAction().
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to ListSubscriptionsAction(/AvgVar, null).
    library!ReportServer_0-2!f88!11/27/2009-22:12:58:: Call to GetPropertiesAction(/AvgVar, PathBased).
    library!ReportServer_0-2!f88!11/27/2009-22:12:59:: Call to GetSystemPropertiesAction().
    library!WindowsService_0!11c8!11/27/2009-22:14:10:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d executed at 11/27/2009 22:14:10.
    schedule!WindowsService_0!11c8!11/27/2009-22:14:10:: Creating Time based subscription notification for subscription: 48e06c3c-0560-456b-ba2d-9688e5d3debe
    library!WindowsService_0!11c8!11/27/2009-22:14:10:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d execution completed at 11/27/2009 22:14:10.
    library!WindowsService_0!1c10!11/27/2009-22:14:11:: i INFO: RenderForNewSession(‘/AvgVar’)
    library!WindowsService_0!1c10!11/27/2009-22:14:11:: i INFO: Initializing EnableIntegratedSecurity to ‘True’  as specified in Server system properties.
    library!WindowsService_0!1c10!11/27/2009-22:14:11:: i INFO: Initializing SqlStreamingBufferSize to default value of ‘64640’ Bytes because it was not specified in Server system properties.
    processing!WindowsService_0!1c10!11/27/2009-22:14:12:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
    library!WindowsService_0!1c10!11/27/2009-22:14:13:: i INFO: Exception ReportProcessingException dumped to: C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesLogfiles flags= ReferencedMemory, AllThreads, SendToWatson
    library!WindowsService_0!1c10!11/27/2009-22:14:13:: w WARN: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory yukonCompiledDefinition)
       at Microsoft.ReportingServices.Library.RenderLive.CallProcessingAndRendering(ProcessingContext pc, RenderingContext rc, OnDemandProcessingResult& result)
       at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)
    library!WindowsService_0!1c10!11/27/2009-22:14:13:: i INFO: Initializing EnableExecutionLogging to ‘True’  as specified in Server system properties.
    library!WindowsService_0!1b24!11/27/2009-22:15:01:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d executed at 11/27/2009 22:15:01.
    schedule!WindowsService_0!1b24!11/27/2009-22:15:01:: Creating Time based subscription notification for subscription: 48e06c3c-0560-456b-ba2d-9688e5d3debe
    library!WindowsService_0!1b24!11/27/2009-22:15:01:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d execution completed at 11/27/2009 22:15:01.
    library!WindowsService_0!d14!11/27/2009-22:15:01:: i INFO: RenderForNewSession(‘/AvgVar’)
    processing!WindowsService_0!d14!11/27/2009-22:15:01:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
    library!WindowsService_0!d14!11/27/2009-22:15:02:: i INFO: Exception ReportProcessingException dumped to: C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesLogfiles flags= ReferencedMemory, AllThreads, SendToWatson
    library!WindowsService_0!d14!11/27/2009-22:15:03:: w WARN: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory yukonCompiledDefinition)
       at Microsoft.ReportingServices.Library.RenderLive.CallProcessingAndRendering(ProcessingContext pc, RenderingContext rc, OnDemandProcessingResult& result)
       at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)
    library!WindowsService_0!d14!11/27/2009-22:15:03:: i INFO: Initializing EnableExecutionLogging to ‘True’  as specified in Server system properties.
    library!WindowsService_0!1c10!11/27/2009-22:16:02:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d executed at 11/27/2009 22:16:02.
    schedule!WindowsService_0!1c10!11/27/2009-22:16:02:: Creating Time based subscription notification for subscription: 48e06c3c-0560-456b-ba2d-9688e5d3debe
    library!WindowsService_0!1c10!11/27/2009-22:16:02:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d execution completed at 11/27/2009 22:16:02.
    library!WindowsService_0!1b24!11/27/2009-22:16:02:: i INFO: RenderForNewSession(‘/AvgVar’)
    processing!WindowsService_0!1b24!11/27/2009-22:16:02:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
    library!WindowsService_0!1b24!11/27/2009-22:16:03:: i INFO: Exception ReportProcessingException dumped to: C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesLogfiles flags= ReferencedMemory, AllThreads, SendToWatson
    library!WindowsService_0!1b24!11/27/2009-22:16:03:: w WARN: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory yukonCompiledDefinition)
       at Microsoft.ReportingServices.Library.RenderLive.CallProcessingAndRendering(ProcessingContext pc, RenderingContext rc, OnDemandProcessingResult& result)
       at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)
    library!WindowsService_0!1b24!11/27/2009-22:16:03:: i INFO: Initializing EnableExecutionLogging to ‘True’  as specified in Server system properties.
    library!WindowsService_0!d14!11/27/2009-22:17:02:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d executed at 11/27/2009 22:17:02.
    schedule!WindowsService_0!d14!11/27/2009-22:17:02:: Creating Time based subscription notification for subscription: 48e06c3c-0560-456b-ba2d-9688e5d3debe
    library!WindowsService_0!d14!11/27/2009-22:17:02:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d execution completed at 11/27/2009 22:17:02.
    library!WindowsService_0!d14!11/27/2009-22:17:02:: i INFO: RenderForNewSession(‘/AvgVar’)
    processing!WindowsService_0!d14!11/27/2009-22:17:02:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
    library!WindowsService_0!d14!11/27/2009-22:17:03:: i INFO: Exception ReportProcessingException dumped to: C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesLogfiles flags= ReferencedMemory, AllThreads, SendToWatson
    library!WindowsService_0!d14!11/27/2009-22:17:03:: w WARN: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory yukonCompiledDefinition)
       at Microsoft.ReportingServices.Library.RenderLive.CallProcessingAndRendering(ProcessingContext pc, RenderingContext rc, OnDemandProcessingResult& result)
       at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)
    library!WindowsService_0!d14!11/27/2009-22:17:03:: i INFO: Initializing EnableExecutionLogging to ‘True’  as specified in Server system properties.
    library!WindowsService_0!1b24!11/27/2009-22:18:02:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d executed at 11/27/2009 22:18:02.
    schedule!WindowsService_0!1b24!11/27/2009-22:18:02:: Creating Time based subscription notification for subscription: 48e06c3c-0560-456b-ba2d-9688e5d3debe
    library!WindowsService_0!1b24!11/27/2009-22:18:02:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d execution completed at 11/27/2009 22:18:02.
    library!WindowsService_0!1c10!11/27/2009-22:18:02:: i INFO: RenderForNewSession(‘/AvgVar’)
    processing!WindowsService_0!1c10!11/27/2009-22:18:02:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
    library!WindowsService_0!1c10!11/27/2009-22:18:04:: i INFO: Exception ReportProcessingException dumped to: C:Program FilesMicrosoft SQL ServerMSRS10.MSSQLSERVERReporting ServicesLogfiles flags= ReferencedMemory, AllThreads, SendToWatson
    library!WindowsService_0!1c10!11/27/2009-22:18:04:: w WARN: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory yukonCompiledDefinition)
       at Microsoft.ReportingServices.Library.RenderLive.CallProcessingAndRendering(ProcessingContext pc, RenderingContext rc, OnDemandProcessingResult& result)
       at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)
    library!WindowsService_0!1c10!11/27/2009-22:18:04:: i INFO: Initializing EnableExecutionLogging to ‘True’  as specified in Server system properties.
    library!WindowsService_0!d14!11/27/2009-22:19:03:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d executed at 11/27/2009 22:19:03.
    schedule!WindowsService_0!d14!11/27/2009-22:19:03:: Creating Time based subscription notification for subscription: 48e06c3c-0560-456b-ba2d-9688e5d3debe
    library!WindowsService_0!d14!11/27/2009-22:19:03:: i INFO: Schedule c62825c6-2f1f-45a3-8252-9204a26e6e8d execution completed at 11/27/2009 22:19:03.
    library!WindowsService_0!1c10!11/27/2009-22:19:03:: i INFO: RenderForNewSession(‘/AvgVar’)
    processing!WindowsService_0!1c10!11/27/2009-22:19:03:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing., ;
     Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: An unexpected error occurred in Report Processing. —> System.UriFormatException: Invalid URI: The hostname could not be parsed.
       at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
       at System.Uri..ctor(String uriString)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder.Construct(String serverVirtualFolderUrl, String itemPath, Boolean alreadyEscaped, Boolean addItemPathAsQuery)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemUrlBuilder..ctor(CatalogItemContext ctx)
       at Microsoft.ReportingServices.Diagnostics.CatalogItemContext.GetUrlBuilder(Boolean includeCatalogParameters, Boolean includeRenderingParameters, Boolean includeReportParameters)
       at Microsoft.ReportingServices.ReportProcessing.RenderingContext.get_ReportUri()
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderReport(IRenderingExtension newRenderer, DateTime executionTimeStamp, ProcessingContext pc, RenderingContext rc, IChunkFactory cacheDataChunkFactory, IChunkFactory yukonCompiledDefinition, Boolean& dataCached)
       — End of inner exception stack trace —


    铅笔小新

Answers

  • just get the solution from tech support.

    open your rsreportserver.config file. if you find the «UrlRoot» tag is as below,

    <UrlRoot>
    http://+:80</UrlRoot>

    please remove http://+:80 out.

    use <UrlRoot></UrlRoot> only


    铅笔小新

    • Marked as answer by

      Thursday, December 10, 2009 3:37 AM

Back from my weekend and went to debug my web project which is an ASP.NET Core Web Api. It started giving me an error: Invalid URI: The hostname could not be parsed.

I can start a new asp.net core web api project and it debugs fine so I’m pretty sure its something with my configuration for this project. Any ideas?

James

asked Mar 14, 2017 at 14:59

James Scott's user avatar

1

Solution:

  1. Close Visual Studio
  2. Remove .vs folder

Fixed:)

answered May 15, 2017 at 14:37

szubajak's user avatar

szubajakszubajak

4227 silver badges12 bronze badges

4

I post this answer because many people found my comment useful. Thanks to @joshcomley for poking me.

Hopefully this answer will help someone:

  1. In your solution folder find subfolder named .vs (note, this folder has a hidden attribute, so File Explorer does not show it by default)
  2. Open .vs/config/applicationhost.config file
  3. Inside the file find element like <site name="<Your_Web_Site_Name>" ..... You can have several elements like this. You need to pick one where <Your_Web_Site_Name> matches the name of your site
  4. Inside <site element find a child element like:

<binding protocol="http" bindingInformation=":8080:localhost" />

and replace it with:

<binding protocol="http" bindingInformation=":8080:" />

  1. Rebuild solution and Run website

Notes:

  • The port number 8080 is given as an example. You should assign the port that you actually use for the website.
  • This fix works for websites hosted in IISExpress. It also allows to avoid error message like Invalid URI: The hostname could not be parsed.
  • If your website is using IIS, you may try to replace binding with this line:
    <binding protocol="http" bindingInformation="*:8080:*" />. And do iisreset after this change.

answered Feb 21, 2018 at 7:45

VeganHunter's user avatar

VeganHunterVeganHunter

5,3042 gold badges25 silver badges25 bronze badges

3

I was having the same issue and tried other suggestions in this post, but it didn´t work. So I went to Properties of the project -> Debug -> WebServer Settings
There I´ve replaced the * with localhost and that solved the issue for me.
Properties capture

answered May 20, 2020 at 8:33

Javier Pazos's user avatar

1

Jakub’s answer does fix the issue because it causes Visual Studio to regenerate applicationhost.config. In my case, the error was saying that the value of the <binding> tag could not be parsed. I had the following:
<binding protocol="http" bindingInformation="*:5000:*" />
which when regenerated looked like this:
<binding protocol="http" bindingInformation="*:5000:localhost" />
The file is found inside the «.vs» folder’s «config» subfolder, and instead of deleting the whole directory, you can just fix/restore your <binding> tag to a value that can be parsed.

Edit: per @VeganHunter’s comment, * is not a valid hostname. If you want it to bind to all hostnames just leave the host blank. Ex: *:80: instead of *:80:* means «All network interfaces/IPs, on port 80, for all hostnames».

answered Jun 27, 2017 at 17:14

QuickDanger's user avatar

QuickDangerQuickDanger

1,03211 silver badges18 bronze badges

2

This error indicates that your bindingInformation for the site is not in the correct format.

The value for bindingInformation consists of three parts.

ip:port:host

Here are some formats of bindings and their result:

<!-- Configures the site with a hostname of "www.test.com" on port 80 for the IP address of 192.168.1.10. -->
<binding protocol="http" bindingInformation="192.168.1.10:80:www.test.com" />

<!-- Configures the site with a hostname of "localhost" on port 80 for the IP address of 192.168.1.10. -->
<binding protocol="http" bindingInformation="192.168.1.10:80:localhost" />

<!-- Configures the site without a hostname and IP address on port 80. You'd use this setting to make your site directly accessible via any address that the system has, including the localhost address at 127.0.0.1, as well as any and all configured IP addresses. -->
<binding protocol="http" bindingInformation=":80:" />

<binding protocol="https" bindingInformation="*:443:" />
<!-- Configures HTTPS bindings for all IP addresses over port 443. -->

With all the above bindings, you can set the protocol to https to make your site accessible only through SSL.

answered Feb 16, 2018 at 12:20

chaosifier's user avatar

chaosifierchaosifier

2,54622 silver badges37 bronze badges

I was getting similar issue and running the Visual Studio in Administrator mode resolved the issue for me.

answered Aug 19, 2019 at 15:27

Ayush's user avatar

AyushAyush

4752 gold badges5 silver badges18 bronze badges

My answer is a variant from @Javier Pazos

In my case, going to the the project properties, my URI was correct,
enter image description here

However, my Environment Variables were wrong (this happened after updating VS)
enter image description here

So, here replace the «*» for localhost

answered Nov 9, 2022 at 22:02

DReact's user avatar

DReactDReact

3963 silver badges6 bronze badges

Symptoms

On a Windows Embedded CE 6.0-based device, a managed application exits abnormally when you use a WebBrowser control. Additionally, you receive the following error message:


Invalid URI: The hostname could not be parsed.

This problem occurs when the following conditions are true:

  • The WebBrowser control tries to trigger a navigating event in response to a navigation request.

  • The request contains a URL that references a Web page that is stored in a local resource dynamic link library (DLL).

Cause

This problem occurs because the logic of the .NET Compact Framework URL parser that validates a URL does not recognize the format of the URL that the request contains. The logic is used by the Uniform Resource Identifier (URI) class.

Resolution

Software update information

A supported software update is now available from Microsoft as Windows CE 6.0 Platform Builder Monthly Update (September 2009). You can confirm this by scrolling to the «File information» section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:

Product version-yymmdd-kbnnnnnn-processor typeFor example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

Prerequisites

This update is supported only if all previously issued updates for this product are installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:

  • On the Build menu, click Clean, and then click Build Platform.

  • On the Build menu, click Rebuild Platform.

You do not have to restart the computer after you apply this update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name

File size

Date

Time

Windows embedded ce 6.0_update_kb976213.htm

6,546

30-Sep-2009

20:04

Wincepb60-090930-kb976213-common.msi

611,840

30-Sep-2009

20:45

File name

File size

Date

Time

Path

System.dll

526,504

26-Sep-2009

00:56

OthersDotnetv35Managed

Workaround

To work around this problem, set the value of the Friendly http errors registry entry to no. The registry is under the HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerMain registry subkey.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the «Applies to» section.

More Information

When a server sends an error response code, the native Web browser components may move to a Web page that is stored in a local resource DLL. When this behavior occurs, the resulting URL starts with the «HTTP://Windowsshdoclc.dll/» string.

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Call stack information

at System.Uri.CreateThis() at System.Uri.ctor() at System.Windows.Forms.WebBrowser.WnProc() at System.Windows.Forms.Control._InternalWnProc() at Microsoft.AGL.Forms.EVL.EnterMainLoop() at System.Windows.Forms.Application.Run() 


Need more help?

  • Remove From My Forums
  • Question

  • Hi All,

    When i am going to create new web application or extending the existing web application using Central Administration.

    It throw error:

    ULS Log Error shows:

    Unexpected	System.UriFormatException: Invalid URI: The hostname could not be parsed.    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)     at Microsoft.SharePoint.Administration.SPVirtualServer.InitializeIisComponents(SPIisWebSite iisInstance)     at Microsoft.SharePoint.Administration.SPVirtualServerCollection.Undirty()     at Microsoft.SharePoint.Administration.SPVirtualServerCollection..ctor()     at Microsoft.SharePoint.WebControls.IisWebSiteSection.PopulateIisWebSiteDropDownList()     at Microsoft.SharePoint.WebControls.IisWebSiteSection.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRe...	f1a5899c-4b18-50d4-9421-ecd319658fa8
    Unexpected	...cursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)	f1a5899c-4b18-50d4-9421-ecd319658fa8
    

    Existing web application is working fine, Even i am able to create new site collection with existing one.

    Can any one suggest the resolution for this issue.

    Thanks in advance


    Manoj Mittal

    • Edited by

      Tuesday, April 22, 2014 7:21 AM
      Added Log File comments

Answers

  • Hi Manoj,

    This issue may be about permissions of the user that you used. Please use a farm account to log in CA, and test again, compare the result.

    Thanks,

    Wendy


    Wendy Li
    TechNet Community Support

    • Marked as answer by
      JasonGuo
      Monday, May 5, 2014 1:27 AM

Thanks for your feedback.

You’re welcome, thanks a lot for your detailed answer! I’m impressed by the community and employees’ patience, kudos!

BTW, if I’m talking nonsense or ask too much «but whyyy?» questions, just tell me «because I say so» ;). I’m over-curious sometimes, but I don’t pretend to understand everything when it gets really technical!

However, all the other files and types that are not shown by Finder, as not so easy to determine in such a sweeping manner, but could be added to a list of which to return as being hidden.

We just have not done this as yet. It would require a small investigation as to make a comprehensive list of files which would require this.

Well… you could always start by the obvious offenders: $RECYCLE.BIN, desktop.ini and thumbs.db, and refine the list later on. I guess those will bug anyone after 2 minutes using HGFS.

The downside of doing this, is that those files can never have the hidden attribute removed, as you can from Explorer for other files, since it is always added artificially by the server. Or we

could but then would have to track state for the file which would be a pain, as it would have to be persistent across opens and reboots of the VM.

This is what I don’t really get, and the reason I said I thought this fs is limited: why can’t you «translate» (ie have the fs relay) a Windows attribute into a Finder attribute? I mean, since you can add it artificially for dot files, why can’t you do it dynamically?

Even if OSX attributes aren’t enough, can’t you use OSX metadata —it’s extensible right? Maybe that’s what you meant by «track the state».

As for the HGFS being a network share, and not a true file system, you misunderstand how the shared folders feature works.

Firstly, others have asked this too, but here are some details:

1) vmhgfs.sys in the VM is a fully-fledged legitimate native Windows file system driver and interface. It supports the same file system interface that local file systems provide and support such as NTFS and FAT.

The only difference being is that it presents a network file system interface the same as Microsoft’s SMB/CIFS (Lanmanager) mrxsmb.sys does.

By fully-fledged fs, I meant that it would appear as a hard drive to the host (eg visible in Windows disk manager). I’m not very savvy on those matters, this is just my personal definition… you know, from a user standpoint.

2) The reason for doing a network file system in the VM and using shares are that it gives the user the most flexibility of how much or little of the host file system they would like to expose to the VM.

This is a natural fit for shares and how they work, and how we have to share access to files in the VM with file requests from applications on the host at the same time.

I agree, since we’re indeed sharing a folder, it makes more sense.

I guess it depends on what the user is trying to do, how he views his own setup. As for me, I’m looking at (ideally) totally abstracting the OS: I have one machine with resources (my files, a few devices), and a bunch of programs. Those can come from OSX or Windows, I don’t care, I don’t even wanna know. Same for the files, I’m more looking for total emulation, I don’t care who is shared where.

If I could install my Windows programs on HGFS (wouldn’t be wise perf-wise), I would, just so I could have Spotlight index them.

3) Making the HGFS file system appear as a local file system would make no difference to the APIs supported or even performance since we would still have to get the data from the host anyway.

Well, that’s my point: it does make a difference (not perf-wise, API-wise). For example, Explorer doesn’t auto-refresh the content of a folder in a network drive (if I delete/add a file OSX-side, I have to F5 Windows-side).

Also, some programs can tell the difference between a network drive and a normal one. I agree, it’s edgy, and quite probably 99.9% of your users don’t care.

It’s just like the way you emulate a true hard-drive from a vmdk file, or like CD-ROM emulators: the CD has to (and does) appear as a real device, not just mounted as a share. Programs just can’t tell the difference (in theory) (and some try hard Smiley Wink).

We cannot grab the host disk as whole thing exclusively and present it as a local disk in the VM as then the host applications would not see it or be able to access it. Fuse and extfs for Windows assume some sort of disk they can mount and have exclusive access too and just read/write the ext3/ext2 file system to that disk. We cannot do that in this scenario.

I understand the difference. So Fusion accesses the drive as a normal host program, and relays the files… but why couldn’t this be totally transparent to the VM? Why can’t you grab the disk non-exclusively, and still present it as a local disk?

On VMware Workstation, there is the possibility of adding a disk to the VM, stored in a partition instead of a file. I’ve never tried it: does the host still have access to that partition? I’ve always wondered why Fusion didn’t have this option.

Secondly, admittedly, we have performance issues with HGFS currently, but they can be overcome with time, and not solved by making it appear as a local file system. They are constrained by the current design and some missing features which we are trying to address in the next few major releases.

Eh, so far I haven’t noticed the problems that WoodyZ reported.

I tried to copy a large file (700Mb): I got 20-30 Mb/s (as measured by Vista) from SMB, and 50-70 Mb/s from HGFS, so yay, much faster! It could be very different with small files, but I don’t have the tools to benchmark it —SuperCopier doesn’t work on Vista :(.

I guess my case is special too: I’m a Windows person forced to work on a Mac, so Fusion is more important that OSX for me! Your average user is probably more a home Mac user that wants to play games…?

I’m not a switcher, I still prefer Windows (don’t believe Their lies, not everyone switches!), but there are a few things that I like about OSX, and if it was possible I’d install it as a VM on my home PC. With the level of integration Fusion’s achieved, I’d nearly be ready to go the other way around (get a Mac and put my PC in it)… maybe with Fusion 3 :smileycool: ?

The goal really is to abstract the OS, I think. For the user, all that matters are the files and programs, the OS doesn’t mean anything anymore. Maybe someday we’ll be able to have Vista index the hard drive, and replace Spotlight by Windows Search? Or the other way around, whatever floats your boat. Or install Ubuntu and replace the dock with the KDE bar (or whatever it’s called).

While I’m talking crazy, I’ll go even further: device abstraction. I have an Hercules webcam that doesn’t have Mac drivers (and macam gives crappy results), so I plugged it on Windows, and I’m using Skype on Windows instead of OSX. But I still can’t use the webcam on OSX programs. What if Fusion could use Windows’ drivers and relay it back to OSX? This is probably insane and will make your engineers cry, but from a user point-of-view, that would be so cool! I don’t care which OS handles my cam, I just want it available for my programs.

Well… enough dreaming for now! Cheers,

Ben

  • Remove From My Forums
  • Question

  • Hi,

    when I am running my LOB Adapter, I am getting an error at public override Uri Uri, in my AdapterConnectionUri class.

    Error isTongue Tiedystem.UriFormatException was unhandled by user code
      Message=»Invalid URI: The hostname could not be parsed
      Source=»System»
      StackTrace:
           at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
           at System.Uri..ctor(String uriString)
           at Mphasis.Adapters.AD.ADAdapterConnectionUri.get_Uri() in C:TFSApplication EngineeringWCF AdapterPOCPracticeWCF LOB AdapterADAdapterADAdapterADAdapterConnectionUri.cs:line 112
           at Microsoft.ServiceModel.Channels.Common.ConnectionUri.get_SecureUriString()
           at Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelFactory`1.GetConnectionPool(ConnectionUri connectionUri, String uriString)

    and my public override Uri Uri looks as follows:

    Code Snippet

    public override Uri Uri

    {

    get

    {

    //

    //TODO: Return the composed uri in valid format

    //

    //throw new NotImplementedException(«The method or operation is not implemented.»);

    // Build the uri

    if (String.IsNullOrEmpty(this.server)) throw new InvalidUriException(«Invalid target system Server.»);

    if (String.IsNullOrEmpty(this.domain)) throw new InvalidUriException(«Invalid target system Domain.»);

    // build the uri

    return new Uri(ADAdapter.SCHEME + «://» + this.Server + «;» + this.Domain + «?» + «enableAuthentication=» + EnableAuthentication);

    }

    set

    {

    //

    //TODO: Parse the uri into its relevant parts to produce a valid Uri object. (For example scheme, host, query).

    //

    //throw new NotImplementedException(«The method or operation is not implemented.»);

    // Parse the uri

    String[] enableAuthValue = GetQueryStringValue(value, «enableAuthentication»);

    if (enableAuthValue.Length > 0) this.enableAuthentication = Boolean.Parse(enableAuthValue[0]);

    this.server = value.Host;

    String[] applicationValue = value.AbsolutePath.Split(‘/’);

    if (applicationValue.Length > 1) this.domain = applicationValue[1];

    }

    }

    I am getting error at this line :

    return new Uri(ADAdapter.SCHEME + «://» + this.Server + «;» + this.Domain + «?» + «enableAuthentication=» + EnableAuthentication);

    can any one help out in solving this error.

    Thanks,

Answers

  • The hostname in your URI turns out to be

    this.Server + «;» + this.Domain

    which is not valid due to the «;» character. The Uri you create should be System.Uri compliant. You can check out http://msdn.microsoft.com/en-us/library/system.uri.aspx

    You can use UriBuilder class to create your URI.

Hi, I’m having issues writing and running a Function App with .NET 5 in isolated mode. I’m using VS Code on a Mac.
Fresh install of AZ CLI, .NET SDK. Ran func init MyHealthyFuncApp in an empty folder.

I added a simple function class:

public class MyFunction
    {
        [Function(nameof(SayHello))]
        public static HttpResponseData SayHello([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = null)] HttpRequestData req,
    FunctionContext executionContext)
        {
            var response = req.CreateResponse(HttpStatusCode.OK);
            response.Headers.Add("Date", "Mon, 18 Jul 2016 16:06:00 GMT");
            response.Headers.Add("Content-Type", "text/plain; charset=utf-8");

            response.WriteString("Hello!");

            return response;
        }
    }

then added the missing Nuget packages, Microsoft.Azure.Functions.Worker.Extensions.Abstractions and Microsoft.Azure.Functions.Worker.Extensions.Http (BTW, I would also suggest adding these to the samples, instead of directly reference the projects). No other changes.

When I launch the project, I immediately get this exception:

Unhandled exception. System.UriFormatException: Invalid URI: The hostname could not be parsed.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at Grpc.Net.Client.GrpcChannel.ForAddress(String address, GrpcChannelOptions channelOptions)
   at Microsoft.Extensions.DependencyInjection.GrpcServiceCollectionExtensions.<>c.<AddGrpc>b__1_1(IServiceProvider p) in D:a1ssrcDotNetWorker.GrpcGrpcServiceCollectionExtensions.cs:line 58
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitIEnumerable(IEnumerableCallSite enumerableCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite singletonCallSite, RuntimeResolverContext context)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass1_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at MyHealthyFuncApp.Program.Main() in /Volumes/Titano/Sources/dotnet/azure-functions-healthchecks/MyHealthyFuncApp/Program.cs:line 16
   at MyHealthyFuncApp.Program.<Main>()

any idea?

cgreenholt

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎03-29-2022

05:41 AM

1. Does the issue only appear in Power BI Service?
No. This exists in both Desktop and Service

2. What’s your Power BI Service and client version?
Desktop = Version: 2.103.661.0 64-bit (March 2022)

Service version13.0.17952.42
Client version2203.3.10543-train

3. What’s your data source?
Azure Cost Management

4. Can this issue be reproduced? What’re the detailed steps?
Easily. When I choose «Azure Cost Management» as my source, I can select and load ANY table in that source EXCEPT «RI Charges». That fails immediately by just selecting it and trying to get the «preview». It gives the «Invalid URI: The hostname could not be parsed.» error. This initially showed up in the Service when my daily refresh started failing (Sunday, March 20). In my mind.this is definitely with Microsoft since I can load any of the table data from that source except that one. It had worked for literally years previously and I have not made ANY changes in the past 3 months.

5. Do other colleagues or other devices meet the same issue?
I am the only one using this source.


Message 5 of 5

1,368 Views

cgreenholt

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎03-24-2022

06:19 AM

@amitchandak Thank you for that info. I tried but it does not «fix» the issue. I can sort of force it to the point that it loads, but in the table, one column has errors (of 11 rows, it says 4 rows have errors). I obviously can not remove or keep, but I tried to remove empty and remove duplicates, but that still does not help. Once I attempt to refresh again, ir fails with the same «invalid URI» error. Any other thoughts?


Message 3 of 5

1,425 Views

‎03-28-2022

11:26 PM

Hi @cgreenholt ,

Could you share us more details? For example,

1. Does the issue only appear in Power BI Service?

2. What’s your Power BI Service and client version?

3. What’s your data source?

4. Can this issue be reproduced? What’re the detailed steps?

5. Do other colleagues or other devices meet the same issue?

Best Regards,

Icey


Message 4 of 5

1,376 Views

The Invalid URI: The Hostname Could Not Be Parsed error means that the desktop tools are configured with an invalid Recast Management Server URI. The default URI during installation is https:///MobileToolsEnterprise.svc, which is an invalid URI. 

To fix this, you can either reinstall the Recast Desktop Tools specifying the URI during installation, or modify the registry value that the desktop tools use.

Reinstall the Recast Right Click Tools

If you reinstall the desktop tools, the first screen in the installation wizard is the one you want to watch out for. In this screen, enter the Recast Management Server URI. You can also specify the Recast Management Server URI on the command line with the RCTENTERPRISESERVER MSI property.

Modify the Registry

The desktop tools use the ServerUri value under «HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeRecast SoftwareRecast RCT». This value should be the Recast Management Server URI with port included. Example: https://demo-rms-prod.demo.recastsoftware.com:444/

Понравилась статья? Поделить с друзьями:
  • Ошибка host process for windows services
  • Ошибка http internal server error 1c iis
  • Ошибка host not found authoritative
  • Ошибка http error что это такое
  • Ошибка host network service 1030