Server Error in '/' Application.
Invalid URI: The format of the URI could not be determined.
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.UriFormatException: Invalid URI: The format
of the URI could not be determined.
Source Error:
Line 36: void MvcApplication_BeginRequest(object sender, EventArgs
e)
Line 37: {
Line 38: HttpContext.Current.Items[RavenSessionKey] =
DocumentStore.OpenSession();
Line 39:
Line 40: /*if (!Deployed)
Source File: c:\Dev\TV\TV\Global.asax.cs Line: 38
Stack Trace:
[UriFormatException: Invalid URI: The format of the URI could not be
determined.]
System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind
uriKind) +6161380
System.Uri..ctor(String uriString) +20
System.Net.WebRequest.Create(String requestUriString) +35
Raven.Client.Client.HttpJsonRequest..ctor(String url, String
method, JObject metadata, ICredentials credentials) +49
Raven.Client.Client.HttpJsonRequest.CreateHttpJsonRequest(Object
self, String url, String method, JObject metadata, ICredentials
credentials) +75
Raven.Client.Client.ServerClient.DirectGet(String serverUrl, String
key) +227
Raven.Client.Client.ReplicationInformer.RefreshReplicationInformation(ServerClient
commands) +181
Raven.Client.Client.ReplicationInformer.UpdateReplicationInformationIfNeeded(ServerClient
serverClient) +139
Raven.Client.Client.ServerClient..ctor(String url,
DocumentConvention convention, ICredentials credentials,
ReplicationInformer replicationInformer) +139
Raven.Client.Document.<>c__DisplayClass7.<Initialize>b__2() +99
Raven.Client.Document.DocumentStore.get_DatabaseCommands() +146
Raven.Client.Document.DocumentStore.OpenSession() +49
TV.MvcApplication.MvcApplication_BeginRequest(Object sender,
EventArgs e) in c:\Dev\TV\TV\Global.asax.cs:38
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
+148
System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +75
Version Information: Microsoft .NET Framework Version:4.0.30319;
ASP.NET Version:4.0.30319.1