Welcome Guest Search | Active Topics | Sign In | Register

Deployment Problem Options
MannyRosa
Posted: Saturday, May 25, 2013 2:53:05 AM
Rank: Member
Groups: Member

Joined: 9/6/2011
Posts: 26
On my development machine my ASP.net site works OK, but when I deploy it to my Virtual Private Server I get an error:

I have these files on my bin folder:
eo.Web.dll
eo.Web.dll.refresh
eo_web.licx

What am I missing?


Server Error in '/' Application.



Data at the root level is invalid. Line 1, position 1.
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.Exception: Data at the root level is invalid. Line 1, position 1.

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:



[Exception: Data at the root level is invalid. Line 1, position 1.]
EO.Web.Internal.fc.a(IComponent A_0, Type A_1, String A_2) +608
EO.Web.Internal.ks.ak() +57
EO.Web.Internal.ks.j(HtmlTextWriter A_0) +105
EO.Web.WebControlBase.n(HtmlTextWriter A_0) +57
EO.Web.WebControlBase.Render(HtmlTextWriter writer) +127
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060





Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
MannyRosa
Posted: Saturday, June 1, 2013 7:54:41 AM
Rank: Member
Groups: Member

Joined: 9/6/2011
Posts: 26
Any chance to get help with this problem?
eo_support
Posted: Saturday, June 1, 2013 9:03:12 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Try to put the license file in the root level and do not include it as part of your project.

Thanks
MannyRosa
Posted: Saturday, June 1, 2013 4:29:14 PM
Rank: Member
Groups: Member

Joined: 9/6/2011
Posts: 26
I placed these files at the root level:
EO.Web.dll
EO.Web.dll.refresh
eo_web.ashx
eo_web.licx

But I still get this error:
Data at the root level is invalid. Line 1, position 1.
eo_support
Posted: Saturday, June 1, 2013 6:49:20 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
You are sure your eo_web.licx has the correct content?
MannyRosa
Posted: Saturday, June 1, 2013 7:28:49 PM
Rank: Member
Groups: Member

Joined: 9/6/2011
Posts: 26
This is the content on the file:
EO.Web.Runtime.AddLicense(

"zQ==");
eo_support
Posted: Saturday, June 1, 2013 9:24:49 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

The license file and the license code are two different things. You can not put your license code into a file and make it a license file. You must download the license file from our website.

And most importantly, NEVER POST YOUR LICENSE CODE IN THE FORUM OR ANYWHERE ON THE INTERNET AGAIN. You are sharing your license code with everyone in the whole world. If you do that again, we will have no option but to revoke your license.

Thanks!
MannyRosa
Posted: Saturday, June 1, 2013 9:49:49 PM
Rank: Member
Groups: Member

Joined: 9/6/2011
Posts: 26
Sorry for my mistake!

I have downloaded the file again and placed a copy on the root, but the same error is happening
eo_support
Posted: Saturday, June 1, 2013 9:55:53 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
The license file is an xml file. The license code is a piece of C#/VB code. You get that error because the content in your license file is not XML, which is not possible if you had downloaded the license file directly from our website. However it could happen if you have manually copy the code or anything else into a text file and called it eo_web.licx. But that is wrong because the file eo_web.licx should be an xml file and it can only be directly downloaded from our website (because it contain a signature field that only we can generate correctly). In another word, if you ever edit file eo_web.licx directly, then it will be an invalid license file.

Hope this explained everything clearly. If you still can't get it to work, you will need to find someone else around you to help you out. We can no longer help you any further on such simple issues.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.