Solved

Dotnet installation issue

Posted on 2012-04-12
7
236 Views
Last Modified: 2012-04-20
Hi experts, I'm developing a simple dotnet application using Visual Studio 2008 that I've installed here on webhost4life's server.

It runs fine on my local Dev environment of course but I get this error upon installation

http://www.virtassistant.com/knowledgemanager/default.aspx

I presume its something to do with the version of dotnet that I'm running but I have my .Net Framework set to 3.5 in the advanced compiler settings and that matches what Webhost4life claim.

When I suggested it was an error at the server end, I received this reply but I still have no idea to to fix this problem ...

-------------------------------------

Hello,

Thank you for your patience.

Yes, .NET Framework version is installed on our platform upto 3.5. Also, I have check the website at the URL http://www.virtassistant.com/knowledgemanager/default.aspx and noticed that the website is loading with the error "Could not load file or assembly 'System.Data.DataSetExtensions' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.". It appears to be the DLL files are not up to the .NET version 3.5. Hence, I suggest you to recompile the DLL files with the version 3.5 and re-upload to web directory and then check the website functionality from your end.

If you have any further questions, please update the Support Console.
0
Comment
Question by:Clever_Bob
7 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 37842569
BadImageFormatException suggests a mismatch between a 32-bit application and a 64-bit assembly, or vice versa.
0
 
LVL 2

Expert Comment

by:Codecaesar
ID: 37842820
0
 
LVL 7

Author Comment

by:Clever_Bob
ID: 37845403
@TheLearnedOne, thanks for that. I hadn't given that any thought but yes I'm developing on a 64-bit Windows 7 machine (Vis Stuid 2008) and I'm deploying to a 2003 server on webhost4life.

So how do I determine if that is the issue and how do I fix it?

Thanks

Rob
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 7

Author Comment

by:Clever_Bob
ID: 37845405
@Codecaesar: thanks but the target framework is 3.5 and thats what I've set my application to
0
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 37846288
@Clever_Bob

Go to Project Properties -> Build -> Platform Targe -> Select x86 or Any CPU

Regards,
Chinmay.
0
 
LVL 7

Accepted Solution

by:
Clever_Bob earned 0 total points
ID: 37849522
Bin Folder needs to be in the top level directory on this server.
0
 
LVL 7

Author Closing Comment

by:Clever_Bob
ID: 37869831
Bin Folder needs to be in the top level directory on this server.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Error handling in asp.net site 5 34
Footer for each row on Gridview 2 33
AJAX ModalPopupExtender will Not Hide in Asp.net 1 9
ASP.NET (VB) return a record 2 40
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question