SixfootStudio
Nuke Ace Posts:47
|
11/23/2010 7:08 AM |
|
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 |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
11/23/2010 7:25 AM |
|
Make sure that you've got the connection strings set correctly as a start. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
SixfootStudio
Nuke Ace Posts:47
|
11/23/2010 7:34 AM |
|
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 |
|
|
|
|
SixfootStudio
Nuke Ace Posts:47
|
11/23/2010 8:43 AM |
|
Found the error in the dbo.EventLog table of the database. Turns out I was missing a Skin file. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
11/23/2010 8:29 PM |
|
Did this leave your installation without any skin files? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Aodax Nshala
Nuke Newbie Posts:2
|
10/26/2011 11:28 AM |
|
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 Craig DNN MVP Posts:11667
|
10/26/2011 11:36 AM |
|
Can you provide more specific details about your error? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Norman Bauer
Nuke Newbie Posts:3
|
10/29/2011 10:48 AM |
|
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 Craig DNN MVP Posts:11667
|
10/29/2011 10:54 AM |
|
Please post the full text of the error message. Is there a URL that you can share so that I can look? |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Norman Bauer
Nuke Newbie Posts:3
|
|
rick
Nuke Newbie Posts:1
|
10/29/2011 11:15 AM |
|
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 Bauer
Nuke Newbie Posts:3
|
10/29/2011 11:35 AM |
|
My problem is that I now can't access the site at ask. Not even the admin stuff. |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
10/29/2011 11:52 AM |
|
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, Patapsco Research Group Complete DNN Support |
|
|
Norm
Nuke Newbie Posts:1
|
10/29/2011 12: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. |
|
|
|
|
cyrus
Nuke Newbie Posts:1
|
04/13/2012 12: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.
|
|
|
|
|
Maria
Nuker Posts:12
|
05/15/2012 9:13 AM |
|
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 Craig DNN MVP Posts:11667
|
05/16/2012 6: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, Patapsco Research Group Complete DNN Support |
|
|
Maria
Nuker Posts:12
|
05/17/2012 5: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. |
|
|
|
|
alireza mohammadshah
Nuke Newbie Posts:7
|
07/27/2013 11:59 AM |
|
HI I have installed DNN 6.2 and some modules like dnngo Xnews + dnngo gallery and added some article and images as well, site was working well suddenly this page came up in chrome and firefox and i have tried other computers the result was the same but there is an exception IE10 is working fine with the site and there is no error on that : DotNetNuke DotNetNuke Error An error has occurred. An error has occurred. Return to Site site address : http://www.powermetal.ir/ |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
07/27/2013 9:47 PM |
|
Login as Host and go to the Admin, Event Viewer page. You should be able to see more details about the error. Please post that here. FWIW, I see the same error in IE10. That is good because the error is generated by DNN, not in the browser. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|