Have been testing a site locally for a while and all is fine. Today, I've made an attempt to transfer the files to the live server. The process has been to upload the site files to the server and then recreate the database from a backup.
The files have been uploaded, but I'm getting a configuration error, which looks like it caused from the local and live sites using different .NET framework versions ? If this is the case is there an easy method to update the web config file? Which I think needs to be chnaged from 3.5 to 2.0.
Thanks in advance
Eddie
The error message is:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing
of a configuration file required to service this request. Please review
the specific error details below and modify your configuration file
appropriately.
Parser Error Message: Could not load file or
assembly 'System.Data.DataSetExtensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. Access is denied.
Source Error:
Line 97: <!-- ASPNETAJAX --> Line 98: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> Line 99: <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> Line 100: <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 101: <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Assembly Load Trace: The following information can be
helpful to determine why the assembly 'System.Data.DataSetExtensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' could
not be loaded.
=== Pre-bind state information === LOG: User = BUSINESS7-ASP\IWAM_plesk(default) LOG: DisplayName = System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 (Fully-specified) LOG: Appbase = file:///C:/inetpub/vhosts/csr-ltd.co.uk/httpdocs/ LOG: Initial PrivatePath = C:\inetpub\vhosts\csr-ltd.co.uk\httpdocs\bin Calling assembly : (Unknown). === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\inetpub\vhosts\csr-ltd.co.uk\httpdocs\web.config LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Aspnet.config LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config. LOG: Post-policy reference: System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Version Information: Microsoft .NET Framework
Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
I've moved on a bit, and the above issue has been resolved. The hosting company needed to set the permissons and set to network services.
However, I'm a conncetion time out message. As it looks like Umbraco cannot connect to the database. The hosting company has also reproted that Umbraco is also looking for "d:\TeamCity..." ?. I've no idea where this is coming from?
The log files just are not providing any information they are just
saying error code 500 or similar when errors happen, not actually giving
any output of any use to aid debugging.
The problem with the webadmin is that its requiring your domain name to
be pointing at the server which it is not, you should however still be
able to use something like that EMS mssql manager to connect using business7.34sp.com
as the connection hostname to be able to populate the data or such.
Did you get rid of them paths that were looking for d:\.... in that
error message i posted?
I am seeing myself approx a 15 second timeout between opening the page
and it coming back with an error, from what i can make out this could
possibly be a ADODB.Connection error as this is a 15 second as default
timeout i believe.
Eddie, the connection to your database is failing. You webhoster needs to check to see if they can access business7.34sp.com\sqlexpress from the machine that your website is on (and if they can't access it, they need to fix the problem).
The "d:\Teamcity" reference is normal, the code is trying to point you to the error in the original source file that was apparently somewhere on d:\Teamcity\etcetera. Not something you need to worry about!
Passed your advice to the hosting company, although I've noted had a reply. I can now view the default page, but any attemots on a subpages or umbraco login page results in:
Could not load file or assembly 'System.Web.Abstractions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or
one of its dependencies. Access is denied.
Hmmm, well either there is something wrong with the permissions (very well possible!) or your application pool is not configured to run .net 3.5 with integrated pipeline. So another mail to your hoster will probably be necessary. :-)
Thanks for your help, just getting an error now when I attempt to login to umbraco.
Validation of viewstate MAC failed. If this application is
hosted by a Web Farm or cluster, ensure that <machineKey>
configuration specifies the same validationKey and validation algorithm.
AutoGenerate cannot be used in a cluster.
Would this be an issue with the hosting or can I disable viewstate for the login form?
Sounds like a javascript issue, could you check in a different browser? Do you see javascript errors? Can you access the other section (settings, developer, media...) and are they filled?
Happens across all sections, and in different broswers. No javascript erros are shown in the error console?
Using the search feature I can edit and publish the different pages, so the content appears have been copied over correclty. If I attempt to update an image using the media picker, the message undefined error is displayed under the media node. Could this be a permission issue?
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Wed, 16 Jun 2010 09:02:36 UTC
Message: Object doesn't support this property or method
Install dev site to live server - config error
Hi All
Have been testing a site locally for a while and all is fine. Today, I've made an attempt to transfer the files to the live server. The process has been to upload the site files to the server and then recreate the database from a backup.
The files have been uploaded, but I'm getting a configuration error, which looks like it caused from the local and live sites using different .NET framework versions ? If this is the case is there an easy method to update the web config file? Which I think needs to be chnaged from 3.5 to 2.0.
Thanks in advance
Eddie
The error message is:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.Parser Error Message: Could not load file or assembly 'System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Access is denied.
Source Error:
Source File: C:\inetpub\vhosts\csr-ltd.co.uk\httpdocs\web.config Line: 99
Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' could not be loaded.
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
Hi All
A bit of an update, I think that the AJAX version on the live server is different to my local version. Which has the assembly:
System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
I feel that I may need to recomplie the site on the live server. Would somone be able to point me in the direction of a script or tool for doing this.
Thanks in advance
Eddie
HI All
I've moved on a bit, and the above issue has been resolved. The hosting company needed to set the permissons and set to network services.
However, I'm a conncetion time out message. As it looks like Umbraco cannot connect to the database. The hosting company has also reproted that Umbraco is also looking for "d:\TeamCity..." ?. I've no idea where this is coming from?
The site URL is: http://80.82.118.144/
The latest from the hosting company 34sp is below.
Please let me know, if you've any thoughts.
Thanks Eddie
Hi Eddie
I have tried changed the string to :
<add key="umbracoDbDSN" value="server=business7.34sp.com\sqlexpress;database=xxx_umbraco;user id=xxx;password=xxx" />
Still the same - no errors just seems to time out. I also tried:
<add key="umbracoDbDSN" value="Data Source=80.82.118.144\SQLEXPRESS;Initial Catalog=xxx_umbraco;User ID=xxx;Password=xxx" />
Again same issue.
The log files just are not providing any information they are just saying error code 500 or similar when errors happen, not actually giving any output of any use to aid debugging.
The problem with the webadmin is that its requiring your domain name to be pointing at the server which it is not, you should however still be able to use something like that EMS mssql manager to connect using business7.34sp.com as the connection hostname to be able to populate the data or such.
Did you get rid of them paths that were looking for d:\.... in that error message i posted?
I am seeing myself approx a 15 second timeout between opening the page and it coming back with an error, from what i can make out this could possibly be a ADODB.Connection error as this is a 15 second as default timeout i believe.
Eddie, the connection to your database is failing. You webhoster needs to check to see if they can access business7.34sp.com\sqlexpress from the machine that your website is on (and if they can't access it, they need to fix the problem).
The "d:\Teamcity" reference is normal, the code is trying to point you to the error in the original source file that was apparently somewhere on d:\Teamcity\etcetera. Not something you need to worry about!
Hi Sebastiaan
Passed your advice to the hosting company, although I've noted had a reply. I can now view the default page, but any attemots on a subpages or umbraco login page results in:
Thanks
Eddie
Hmmm, well either there is something wrong with the permissions (very well possible!) or your application pool is not configured to run .net 3.5 with integrated pipeline. So another mail to your hoster will probably be necessary. :-)
Hi Sebastiaan
Thanks for your help, just getting an error now when I attempt to login to umbraco.
Would this be an issue with the hosting or can I disable viewstate for the login form?
Eddie
Hi Sebastiaan
Not sure if this is progress, but I've added:
Using an online generator for the keys, and know get:
The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty.
Thanks
Eddie
Copy of web.config
Hi Sebastiaan
Can now login, by adding:
When I view the live site all appears to be correct, but when I login all i see is the content folder ,any thoughts?
Thanks
Eddie
Sounds like a javascript issue, could you check in a different browser? Do you see javascript errors? Can you access the other section (settings, developer, media...) and are they filled?
Hi Sebastiaan
Happens across all sections, and in different broswers. No javascript erros are shown in the error console?
Using the search feature I can edit and publish the different pages, so the content appears have been copied over correclty. If I attempt to update an image using the media picker, the message undefined error is displayed under the media node. Could this be a permission issue?
Thanks
Eddie
Hi Sebastiaan
Just noticed that when using the media picker and I click on the media node I get the message, parent.openDashboard is not a function.
Thanks
Eddie
Under IE, the error details are:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
Timestamp: Wed, 16 Jun 2010 09:02:36 UTC
Message: Object doesn't support this property or method
Line: 1
Char: 1
Code: 0
URI: http://80.82.118.144/umbraco/treeinit.aspx?rnd=ead528e2-ccf5-4b0e-8e46-26aef578c41f&id=-1&treeType=media&contextMenu=false&isDialog=true&dialogMode=id&app=media
is working on a reply...