You need to Register for free and Login to post a message in the forum.

Forum

DotNetNuke Error "An error has occurred" "An error has occurred" after moving site from Localhost to Production site
Last Post 2012-05-17 10:47 AM by Maria. 17 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
SixfootStudioUser is Offline
Nuke Ace
Nuke Ace
Posts:47

--
2010-11-23 12:08 PM  
Hi all, I've recently moved my localhost site to our production server which is at a new ISP running Windows Server 2008 and IIS7.5 (all new to me and possibly the reason I cannot get this sorted out) I've now managed to move all the files over but when I try and run the site, I get the following error message: DotNetNuke Error An error has occurred. An error has occurred. (This error and and "An object of an instance" are my favourite kinds of errors!) Anyways, here's the screenshot that goes along with this and I hope that someone might have an answer for me on this. Thanks, James

111238539071.png

Joseph CraigUser is Offline
DNN Creative Support
Posts:10348
Avatar

--
2010-11-23 12:25 PM  
Make sure that you've got the connection strings set correctly as a start.



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
SixfootStudioUser is Offline
Nuke Ace
Nuke Ace
Posts:47

--
2010-11-23 12:34 PM  
Hi Joe,

I have compared it to another installation we have running correctly and it seems to be fine.

connectionStrings>

add name="SiteSqlServer" connectionString="Data Source=(local);Initial Catalog=_Dnn_551_TheCatalog;User ID=theusername;Password=theuserpassword" providerName="System.Data.SqlClient" />



add key="SiteSqlServer" value="Data Source=(local);Initial Catalog=_Dnn_551_TheCatalog;User ID=theusername;Password=theuserpassword" />
...

Let me know if this looks ok to you? I've had to remove the open bracket because this forums editor is a bit limited and does not like it when I paste html code in it

Thanks





SixfootStudioUser is Offline
Nuke Ace
Nuke Ace
Posts:47

--
2010-11-23 01:43 PM  
Found the error in the dbo.EventLog table of the database. Turns out I was missing a Skin file.


Joseph CraigUser is Offline
DNN Creative Support
Posts:10348
Avatar

--
2010-11-24 01:29 AM  
Did this leave your installation without any skin files?



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Aodax NshalaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:2

--
2011-10-26 04:28 PM  
Im having the same issue after I upgraded my site from v05.05.01 to v06.00.02. Can you tell me exactly how did you resolve the issue.


Joseph CraigUser is Offline
DNN Creative Support
Posts:10348
Avatar

--
2011-10-26 04:36 PM  
Can you provide more specific details about your error?



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Norman BauerUser is Offline
Nuke Newbie
Nuke Newbie
Posts:3

--
2011-10-29 03:48 PM  
I am getting this message on all pages of the site. I just tried installing one of the packaged modules - I believe the media one. Now all pages are blocked out. Any ideas how to get back to them? By the way... I am pretty new to DNN!


Joseph CraigUser is Offline
DNN Creative Support
Posts:10348
Avatar

--
2011-10-29 03:54 PM  
Please post the full text of the error message.

Is there a URL that you can share so that I can look?



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Norman BauerUser is Offline
Nuke Newbie
Nuke Newbie
Posts:3

--
2011-10-29 04:00 PM  
http://slvfd.com.previewdns.com/dnn/

It is in a preview mode on Godaddy.com. We are trying to prepare to move the domain name over to go live, but then this...


rickUser is Offline
Nuke Newbie
Nuke Newbie
Posts:1

--
2011-10-29 04:15 PM  
One can also get this error on a new portal creation. I had 2 working portals, then added a third. On the 3rd I was getting the error message when trying to access it. Turns out the issue was that DNN needs Dark Knight skin for a new portal creation. I had removed it since I was no longer using it. Plus DNN ignores the default host skins on creation. I had set the default for host to one of my skins. Once I returned the Dark Knight to the skins folder all was fine.



Norman BauerUser is Offline
Nuke Newbie
Nuke Newbie
Posts:3

--
2011-10-29 04:35 PM  
My problem is that I now can't access the site at ask. Not even the admin stuff.


Joseph CraigUser is Offline
DNN Creative Support
Posts:10348
Avatar

--
2011-10-29 04:52 PM  
Do you have a backup of the site? If so, it's probably a good time to reinstall that.

If not, you will need to use something like SQL Server Management Studio to examine your database (if not that, GoDaddy probably has a similar tool). Look in the EventLog table, sort by date and find the current error message. Look in the LogProperties column for the full text of the error.

Sometimes you can fix things like this if you go into the directory and delete the offending module's directory from Desktop Modules directory. I'd make a good backup of the installation directory and database before starting to do something like that, though.



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
NormUser is Offline
Nuke Newbie
Nuke Newbie
Posts:1

--
2011-10-29 05:19 PM  
I appreciate your assistance. I had not gotten to the point of a back up (but I will now!). I am not what you would call a SQL guy. I searched the directory for the most recent and I ultimately ended up deleting the files for the new module in the Desktop Modules directory and a dll file in another folder for the module. It appears to be fine now. Hoping for the best! Thanks, again.


cyrusUser is Offline
Nuke Newbie
Nuke Newbie
Posts:1

--
2012-04-13 05:48 PM  
Hello
I am Cyrus dehghan.
This is my first post in dnncreative.
I deleted CookComputing.dll from bin folder and now the problem solved.
hope to be helpfull.



MariaUser is Offline
Posts:10

--
2012-05-15 02:13 PM  
I am having the same situation but I have not added any modules. Local host is working fine but when I copy all files to production I get the following line in my EventLog table:

AssemblyVersion6.1.5PortalID0PortalNameMYNAMEUserID-1UserNameActiveTabID56ActiveTabNameHomeRawURL/Default.aspx?tabid=56&error=An%20unexpected%20error%20has%20occurred&content=0AbsoluteURL/Default.aspxAbsoluteURLReferrerhttp://soskidsdev.rti.org/Default.a...&content=0UserAgentMozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; MS-RTC LM 8; .NET4.0C)DefaultDataProviderDotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProviderExceptionGUID378ef888-f489-456a-b6dc-222f64e90e65InnerExceptionObject reference not set to an instance of an object.FileNameFileLineNumber0FileColumnNumber0MethodDotNetNuke.UI.Skins.Skin.GetSkinStackTraceMessageDotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Skins.Skin.GetSkin(PageBase page) at DotNetNuke.Framework.DefaultPage.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---Source


Joseph CraigUser is Offline
DNN Creative Support
Posts:10348
Avatar

--
2012-05-16 11:22 AM  
The error message refers to problems loading your skin.

I would double check that all files were copied properly and that file permissions are correct. Also, make sure that both connection strings were updated correctly in web.config.

Besides that error, does the site seem to work correctly?



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
MariaUser is Offline
Posts:10

--
2012-05-17 10:47 AM  
I had the same situationa and it was all related to missing files. I suggest to do a compare of the folders. It helped me to figure out what folders did not move properly and I resolved the issues.


You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

Database Connection Error by noora j
Hi, i am really frustrated from this problem, i am trying to install DNN 7 in windows server 2008, i
Database Connection Error by noora j
Hi, i am really frustrated from this problem, i am trying to install DNN 7 in windows server 2008, i
RE: query by Joseph Craig
Is that other url a site alias? Is the site alias mapping specified to be "canonical"? If so, swit
query by Kaustav
When I go to view page source I can see a staging url in the source. Here is the site url -
RE: AccuWeather in HTML Module by Joseph Craig
You seem to be missing the piece that makes the weather appear. Presumably that is a piece of javas
RE: AccuWeather in HTML Module by Joseph Craig
You seem to be missing the piece that makes the weather appear. Presumably that is a piece of javas
RE: New install no HTML module by Mike
Thanks for your reply I usually download the DNN and the select run from folder this is the first ti
AccuWeather in HTML Module by Babak Char
I use AccuWeather for HTML code for the weather on our DNN7 Intranet. THe code is listed, below. I a
RE: New install no HTML module by Joseph Craig
If you open up the Install zip file, you will find the installable HTML module in the Install, Modul
RE: Trying to upgrade 06.02.02 to 06.02.04 by Mike
I managed to get mine to update by creating a local version and running the updates all went through
New install no HTML module by Mike
I have just done a clean install using webmatrix on my local machine when I try to add a new html mo
RE: Trying to upgrade 06.02.02 to 06.02.04 by RUBICS
i just submitted the contact form with the credentials of the superuser
RE: Trying to upgrade 06.02.02 to 06.02.04 by Joseph Craig
If you are willing to share superuser access, send me the credentials using the contact form at pata
RE: solpart menu not working in IE10 by Joseph Craig
I should have mentioned that having a doctype attached to your skin files also helps. You should al
RE: Trying to upgrade 06.02.02 to 06.02.04 by RUBICS
hi Craig, i'm having same problem at www.telepowernet.com/web i'm using the correct superuser acco
RE: solpart menu not working in IE10 by Web Services
Okay great! Thank you!
RE: solpart menu not working in IE10 by Joseph Craig
If you hit F12 in IE, that brings up the Developer Tools. Part of that is the Browser Mode and the
RE: solpart menu not working in IE10 by Web Services
Can you elaborate a little more? Not sure what you mean by "some other mode".
RE: solpart menu not working in IE10 by Joseph Craig
Pull up the developer tools (F12) on the client's computer, and make sure that they haven't set it t
RE: solpart menu not working in IE10 by Web Services
Thanks for the info! We tried using the 40 fingers module on this site: miller-engineers.com - and o
You are not logged in.
You must log in to access all 
750+ videos, tutorials, podcasts, and more.
RSS Feeds