Developer forum

Forum » Development » Error: AreaDomainLock

Error: AreaDomainLock


Reply
 

Server Error in '/' Application.


AreaDomainLock


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.IndexOutOfRangeException: AreaDomainLock

Stack Trace:












Line 70:
Line 71: <%=ListAreas()%>
Line 72:
Line 69: 

Line 73:


 






Stack Trace:











[IndexOutOfRangeException: AreaDomainLock]
System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +1360567
System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +102
System.Data.SqlClient.SqlDataReader.get_Item(String name) +12
Dynamicweb.Admin.Area_List.ListAreas() +754
ASP.admin_area_list_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\Inetpub\wwwroot\blog.creativeedge.dk\Dynamicweb.NET\Application\Admin\Area_List.aspx:71
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2113547
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.Page.Render(HtmlTextWriter writer) +26
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896


 


 


 


 


I triede updating my Dynamicweb and the end of my updatelog.html it states:


 


2/5/2008 10:07:59 AM   Updates initialized

2/5/2008 10:07:59 AM   Package 212 from updates.xml

2/5/2008 10:07:59 AM   Standard SQL applied.ALTER TABLE Area ADD AreaRobotsTxt NVARCHAR(255) Null, AreaRobotsTxtIncludeSitemap BIT NOT NULL DEFAULT 0

2/5/2008 10:07:59 AM   Not upgrade license valid!


 


 


Looks like its the newest version however, one think i notices is "Not upgrade License valid!",


Why is that stated?


 


I get the stated error when i try and press Language/Area and/or Frontpage.


 


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Jan


 


You have added an older database to this solution - thats why you get the error.


 


Go to /Files/Updates.xml and change the number in the file to 200, iisreset and load the website up. Then the update will be applied again.

 
Reply
2/6/2008 4:14:54 AM   Upgrade license set to 18.13.1.0



2/6/2008 4:14:54 AM   Package 209 from updates.xml



2/6/2008 4:14:54 AM   file C:\Inetpub\wwwroot\blog.creativeedge.dk\Files\Templates\Employee\Search\SearchFields.html allready exists.



2/6/2008 4:14:54 AM   file C:\Inetpub\wwwroot\blog.creativeedge.dk\Files\Templates\DBPub\Base\MasterList.html allready exists.



2/6/2008 4:14:54 AM   Upgrade license set to 18.13.1.0



2/6/2008 4:14:54 AM   Package 210 from updates.xml



2/6/2008 4:14:54 AM   file C:\Inetpub\wwwroot\blog.creativeedge.dk\Files\Templates\NewsLetterV3\AdminNotificationMail.html allready exists.



2/6/2008 4:14:54 AM   file C:\Inetpub\wwwroot\blog.creativeedge.dk\Files\Templates\NewsLetterV3\ChangesConfirmationMail.html allready exists.



2/6/2008 4:14:54 AM   file C:\Inetpub\wwwroot\blog.creativeedge.dk\Files\Templates\NewsLetterV3\RegisterConfirmationMail.html allready exists.



2/6/2008 4:14:54 AM   Upgrade license set to 18.13.1.0



2/6/2008 4:14:54 AM   Package 211 from updates.xml



2/6/2008 4:14:54 AM   file C:\Inetpub\wwwroot\blog.creativeedge.dk\Files\Templates\Weblog\Articles\ShowArticle.html allready exists.



2/6/2008 4:14:54 AM   file C:\Inetpub\wwwroot\blog.creativeedge.dk\Files\Templates\Weblog\Articles\ListArticle.html allready exists.



2/6/2008 4:14:54 AM   file C:\Inetpub\wwwroot\blog.creativeedge.dk\Files\Templates\Weblog\Articles\LatestPosts.html allready exists.



2/6/2008 4:14:54 AM   Upgrade license set to 18.13.1.0



2/6/2008 4:14:54 AM   Package 212 from updates.xml



2/6/2008 4:14:54 AM   Standard SQL applied.ALTER TABLE Area ADD AreaRobotsTxt NVARCHAR(255) Null, AreaRobotsTxtIncludeSitemap BIT NOT NULL DEFAULT 0



2/6/2008 4:14:54 AM    - error: 5 - Column names in each table must be unique. Column name 'AreaRobotsTxt' in table 'Area' is specified more than once.



2/6/2008 4:14:54 AM   Upgrade license set to 18.13.1.0

 




 




+ alot more now comes in , however the error still comes up. :( I've never seen this error AreaLock before, i also triede switching database to another SQL, and update that aswell, not working eigther. And its the exact same error. :(








What can i do?

 
Reply

i checked the database and the fields:






AreaRobotsTxt (nvarchar 255) allow null







&



AreaRobotsTxtIncludeSitemap (bit) do not allow null







is set in my area table


 


 


EDIT:



Fixed with changing update to 50 and updating again, iguess i was missing some fields from an update package prio 200 :) , Thanks

 
Nicolai Høeg Pedersen
Reply

Hi Again


 


My bad - you have to go back to package 194 to get AreaDomainLock in the database.


 


Go to 150 to be sure, iisreset and start the website again.

 
Reply
Hi, I have the same problem. how can I update DW? We run MSSQL. What we did was download and install the application folder, and the mssql_empty_data. Under "modules" and "forsiden" in admin we get the errormessage. I tried to change the value in update.xml, but it does not seem to work..
 

Server Error in '/' Application.

AreaDomainLock

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.IndexOutOfRangeException: AreaDomainLock

 

 
Reply

In the Solution Installation SDK please read the section about upgrading.

 

You must be logged in to post in the forum