Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Dotnet installation issue

Posted on 2012-04-12
7
Medium Priority
?
251 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 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Integration Management Part 2
Loops Section Overview
Suggested Courses
Course of the Month12 days, 2 hours left to enroll

564 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