DNN Hosting Register Login
 
Latest Discussions Minimize
Photo description by Sue Conant
In Classic view the description of the photos show up only when viewing a photo ...
TopPhotos and Flickr/Picasa Albums by Nicolo Pitsch
Hello The TopPhotos module doesn't list rss Albums (Flickr, Picasa). I have ins...
Permission Problem with UMG 5.5 and Private Child Albums by Adam O
I just purchased UMG 5.5 and I have set it it to be in Normal Gallery Mode with ...
Upgrade Presentation Pack by Kemper Burt
Hi Pengsten Iam not sure where to find presentation pack 4 I looked in downlo...
license on production keeps getting inactivated by Zeev Neumeier
This is driving me crazy! Every few hours or so the Video Gallery modal on ou...
About Adding Avatar from Smart-thinker user profile module by Soven Shriv
We are using Smart-thinker user profile on our website. Currently, our register...
Cache Bug in UMG...NEED A FIX! by Roy Barrow
This is a well known and reported problem (I have reported it twice and see anot...
Photo Size by Sue Conant
What size photos do the rest of you upload to your albums and what program do yo...
FreeVideoList to show Logged On videos by Rodney Joyce
Hi Pengtsen, I have my public profile page set up to receive a UserID (eg. ht...
Removing FTP area in My Videos by Rodney Joyce
Hi Pengsten, I upgraded to UVG 3 and firstly I want to say how cool it is - y...
Our Partnership Minimize
Support Forum Minimize
Subject: A critical error has occurred.
Prev Next
You are not authorized to post a reply.

Author Messages
Casey Jeppesen
Posts:6
Bronze Member

02/25/2008 4:07 PM  
A critical error has occurred.
The state information is invalid for this page and might be corrupted.

After installing UVG, this error occurs whenever updating admin or host site settings.  The error first occured when trying to 'restart application' from host settings.  I believe the changes made to web.config during UVG setup wizard has something to do with it. 

An IE popup error also occurs at this point.  It reads:

Sys.WebForms.PageRequestManagerParserErrorException: The message
received from the server could not be parsed.  Common causes for this
error are when the responcse is modified by calls to REsponse.Write(),
response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '


Please advise.
Thank you.
Casey Jeppesen
Posts:6
Bronze Member

02/25/2008 4:35 PM  

Looks like this has pretty much broke my dnn installation.

Now, installing new modules returns a runtime error:

Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

<PRE><!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration></PRE>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.

<PRE><!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration></PRE>

Pengtsen R
Posts:7155


02/26/2008 5:05 AM  
you can set customErrors to "Off" to see the detailed error message for the SECOND error.

for the 1st error, it's hard to say what the problem is, but please uninstall UVG and test it again to see whether you get same error.

thanks.

Pengtsen R
http://www.bizmodules.net
Casey Jeppesen
Posts:6
Bronze Member

02/26/2008 7:05 AM  
It has something to do with the changes made to web.config. i replaced the web.config from backup and all is back to normal. uvg still works...sorta. video doesn't seem to play. uploading files doesn't convert them to flv either..
Casey Jeppesen
Posts:6
Bronze Member

02/26/2008 8:03 AM  
Can you post a reply with a complete list of changes UVG makes to the web.config file?
Pengtsen R
Posts:7155


02/26/2008 8:14 AM  
{sectionGroup name="system.web"}
{section name="neatUpload" type="Brettle.Web.NeatUpload.ConfigSectionHandler, Brettle.Web.NeatUpload" allowLocation="true" /}
{/sectionGroup}


{add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload" /}


{system.web}
{neatUpload useHttpModule="true" /}
{httpRuntime maxRequestLength="2097151" executionTimeout="3600" useFullyQualifiedRedirectUrl="true" /}
{/system.web}


{add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2" /}

Pengtsen R
http://www.bizmodules.net
Pengtsen R
Posts:7155


02/26/2008 8:15 AM  
above is the complete change list.

now please restore web.config.uvg, and ensure you change customErrors to "Off" so you can see detailed error message.

you said videos doesn't play, can you post a url of your video here?

thanks.

Pengtsen R
http://www.bizmodules.net
TACF IT Manager
Posts:5
Bronze Member

03/05/2008 2:56 AM  
We got the same error, here was the actual message: **** Compiler Error Message: BC30002: Type 'Net.WebPermission' is not defined. Source Error: Line 94: ''' Helpful in Medium Trust environment. Line 95: Public Function CheckWebPermission(ByVal url As String) As Boolean Line 96: Return System.Security.SecurityManager.IsGranted(New Net.WebPermission(Net.NetworkAccess.Connect, url)) Line 97: End Function Line 98: End Module **** We were able to fix the error by following the steps described at http://www.ventrian.com/Support/ProductForums/tabid/118/forumid/4/postid/19878/view/topic/Default.aspx "It seems that some few DotnetNuke configurations are not able to resolve Net.Permissions to System.Net.Permissions. Xml 04.03.02 is a source based module, so it is easy to fix.Please edit app_code\xml\components\utils.vb and change the line 96 to Return System.Security.SecurityManager.IsGranted(New WebPermission(NetworkAccess.Connect, url)) Save and you are done. No special tools needed, it works also with notepad. No build or compilation required." Another option may be to upgrade your DNN XML module version, as it would seem this error occures on certain versions only.
TACF IT Manager
Posts:5
Bronze Member

03/05/2008 2:57 AM  
Wow... that formatted terribly. Sorry about that.
Pengtsen R
Posts:7155


03/05/2008 4:59 AM  
what you got is a bug of core XML module, you should follow its stace trace and change Net.WebPermission to System.Net.WebPermission.

thanks.

Pengtsen R
http://www.bizmodules.net
You are not authorized to post a reply.
Forums > Ultra Video Gallery > Support Questions > A critical error has occurred.

Enterprise level DotNetNuke Solutions Copyright © 2005-2008 BizModules   |  Contact Us  |  Terms Of Use  |  Privacy Statement