Screwed up database ?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
1/19/2009 3:30:50 PM
Gravatar
Total Posts 118

Screwed up database ?

I think I have screwed up my database. I have a site installed in a virtual directory and get the following error when I use the URL without a page name :-

Server Error in '/seniorsection' Application.
--------------------------------------------------------------------------------

startIndex cannot be larger than length of string.
Parameter name: startIndex
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.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex

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:


[ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex]
System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +7490931
mojoPortal.Web.UrlRewriter.RewriteUrl(HttpApplication app) +228
mojoPortal.Web.UrlRewriter.UrlRewriter_BeginRequest(Object sender, EventArgs e) +368
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


I think this was caused by deleting the original home.aspx page and then recreating it - any ideas ?

 

Neil

1/19/2009 3:38:07 PM
Gravatar
Total Posts 18439

Re: Screwed up database ?

I would review the friendly url mapping for incorrect mappings under Administration Menu > Advanced Tools > Url Manager.

If you see any with blank friendly urls, delete them.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.