Exception: Invalid URI: The format of the URI could not be determined.

1,824 views
Skip to first unread message

Daniel Steigerwald

unread,
Sep 5, 2010, 1:41:51 PM9/5/10
to ravendb
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

Ayende Rahien

unread,
Sep 6, 2010, 4:52:20 AM9/6/10
to rav...@googlegroups.com
Are you using Replication in any way?

Daniel Steigerwald

unread,
Sep 6, 2010, 7:55:00 AM9/6/10
to ravendb
No. Suddenly server stopped working. Embedded db works well. It's
interesting, even reinstall didn't help.

Ayende Rahien

unread,
Sep 6, 2010, 8:40:41 AM9/6/10
to rav...@googlegroups.com
Please check for /Raven/Replication/Destinations
Something is triggering the replication code in the client, that is for certain.
Reply all
Reply to author
Forward
0 new messages