Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Invalid character in a Base-64 string.
Jags
#1 Posted : Friday, October 19, 2007 3:09:48 PM(UTC)
Groups: Member
Joined: 10/19/2007(UTC)
Posts: 3
Location: California

Our product uses IIS/MSDE for a intranet web application. We were testing UltiDev Cassini Web Server for our application.
Some pages are loading fine. Some give the error below.

For example, When I search for patients with a specific alphabet, then I can click on the patient to view patient file (the patient search result is DataList control). But when I search all patients, and then click on Patient Name, I get the error below. I think it seems to be happening with pages contain DataList or DataGrid controls. Any Feedback on this would be appreciated.
Some give the error:

Server Error in '/' Application.


Invalid character in a Base-64 string.
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.FormatException: Invalid character in a Base-64 string.

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:


[FormatException: Invalid character in a Base-64 string.]
System.Convert.FromBase64String(String s) +0
System.Web.UI.LosFormatter.Deserialize(String input) +24
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +101

[HttpException (0x80004005): Invalid_Viewstate
Client IP: 127.0.0.1
Port:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
ViewState:
dDwxMTMzOTM5ODc2O3Q8O2w8aTwxPjs+O2w8dDw7bDxpPDE+O2k8Mz47aTw5PjtpPDExPjtpPDEzPjtpPDE1PjtpPDE3PjtpPDIwPjtp
PDIzPjtpPDI1PjtpPDI3PjtpPDI5PjtpPDMxPjtpPDMzPjtpPDM1PjtpPDQyPjtpPDQ0Pjs+O2w8dDx0PDtwPGw8aTwwPjtpPDE+O2k8Mj47
aTwzPjtpPDQ+O2k8NT47aTw2PjtpPDc+O2k8OD47aTw5PjtpPDEwPjtpPDExPjtpPDEyPjtpPDEzPjtpPDE0PjtpPDE1PjtpPDE2PjtpPDE3P
jtpPDE4PjtpPDE5PjtpPDIwPjtpPDIxPjtpP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IgU3VtbWFyeTsyNz47cDxVbnN1Ym1pdHRlZCBDbGFpbSBGb
3JtczsyOD47cDxQZW5kaW5nIFByZWF1dGhvcml6YXRpb25zOzI5PjtwPFN1Ym1pdHRlZCBQcmVhdXRob3JpemF0aW9uIENsYWltczszM
D47cDxQZW5kaW5nIExhYiBDYXNlczszMT47cDxQcm9jZWR1cmUgQ29kZXMgKE1hc3Rlcik7MzI+O3A8UHJvY2VkdXJlIENvZGVzIChNZ
WRpQ2FsKTszMz47cDxQYXRpZW50IFJlbWluZGVyOzM0PjtwPFBhdGllbnQgUmVjYWxsIFJlcG

Ultidev Team
#2 Posted : Saturday, October 20, 2007 7:23:15 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello!

This problem has never been reported before. Is this reproducible on more than one system? Was it Windows XP?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Jags
#3 Posted : Sunday, October 21, 2007 4:51:34 PM(UTC)
Groups: Member
Joined: 10/19/2007(UTC)
Posts: 3
Location: California

Yes I am getting the error in more than 1 system. I am running Windows 2000 prof, IIS and SQL MSDE. I have seen this errors in google when I search but no replies to it are available.

Some errors already reported:
http://www.velocityrevie...erver-and-viewstate.html
Ultidev Team
#4 Posted : Sunday, October 21, 2007 5:53:30 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Very interesting. It looks like this problem traces back to the original MS Cassini Sample code. We are wondering if this issue can be caused by the limits imposed on the request size - GridView may have very significant ViewState size that will be sent back as a part of the POST request when post-back occurs. There are values in machine.config (and web.config) that can limit request size to prevent hackers from attempting to bring the system down by overloading it. Do you happen to know how big your ViewState is? (Please turn on debug tracing on the page by adding Trace="true" in the <%@ Page... > statement at the top of the ASPX file. The trace will report the size of the viewstate.) Please try tweaking those .config values to see if they have any effect. These .config values, however, should have made your application working the same way under both IIS and Cassini. Is this problem reproducible under IIS at all? We have reviewed Cassini code and found no hard-coded limitation on the size of the request - it is driven by the Content-length header value.

We could suggest a couple of things.
- The long run fix. If you could send us your application, or better, the sample application that reproduces the problem, we probably will be able to track it down and fix the problem in the next release of UltiDev Cassini.
- The short-term work-around. Wast majority of ASP.NET 1.1 applications are compatible with ASP.NET 2.0. You could run your application under UltiDev Cassini for ASP.NET 2.0 and see what happens.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Jags
#5 Posted : Monday, October 22, 2007 7:30:25 AM(UTC)
Groups: Member
Joined: 10/19/2007(UTC)
Posts: 3
Location: California

We have actually deployed the product in its current state to around 20 customers with IIS and they are not having any errors which I have mentioned above. It works fine in IIS. Is it possible to talk to someone and let your folks connect to remotely to my server and take a look at the problem?

I will try to run the application under Cassini for ASP.NET 2.0 and also try to run a trace like you mentioned.

I need Cassini to work without any bugs to recommend for replacement of IIS to the management. So any help would be really appreciated.

Thanks for your help.
Ultidev Team
#6 Posted : Monday, October 22, 2007 4:00:29 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
We can arrange someone looking into this remotely. Please contact us via email so we could respond offline and figure out all the details.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (4)
Forum Jump  
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 can vote in polls in this forum.