Need to .net framework SDK to run my application?


G

Guest

Hi,

I am facing problem now on my application, the problem is that i needed to
install .net framework SDK 2.0 in order for my application to work on another
computer. Did I miss some files during my compilation?

For more details, i first installed .net framework 2.0 in that computer but
the application didnt work so i tried installing SDK instead and it work.. X(

Thanks for any comments

Regards,
Hari
 
Ad

Advertisements

M

Michael Nemtsev, MVP

Hello Hari,

Why do u need SDK? do u use some specific executables from SDK in your app?
generally only .NET Redistributive is required to run you app and SDK to
develop environment

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


H> Hi,
H>
H> I am facing problem now on my application, the problem is that i
H> needed to install .net framework SDK 2.0 in order for my application
H> to work on another computer. Did I miss some files during my
H> compilation?
H>
H> For more details, i first installed .net framework 2.0 in that
H> computer but the application didnt work so i tried installing SDK
H> instead and it work.. X(
H>
H> Thanks for any comments
H>
H> Regards,
H> Hari
 
R

Rory Becker

i first installed .net framework 2.0 in that computer but the
application didnt work

<snip/>

We need more information that "it didn't work"

We don't even know what it was *supposed* to do.
 
G

Guest

Hi Micheal,

Thanks for the reply..

Actually i tried installing .net framework Redistributable 2.0 first but my
application cannot load the mainForm.. Thinking that it might need some other
files coz it work fine in my development PC, so i installed SDK and it works
fine again..

But the problem is i have no idea which file does my application need...

Thank you for any advice..

Regards,
Hari
 
G

Guest

Hi Rory,

Thank for the reply..

Please download this sample project to see the problem:
here's the link: http://www.pop-right.com/WindowsApplication1.rar, I
reproduced the problem in that project..

To explain more details.. When you open that project and try to build it, no
problem will occur and everything work fine BUT when you copied the
application files to another computer the application will not load the Form..

thanks for the help

Regards,
Hari
 
R

Rory Becker

To explain more details.. When you open that project and try to build
it, no problem will occur and everything work fine BUT when you copied
the application files to another computer the application will not
load the Form..

Well really it would be more useful to see the error message you are getting
on this 2nd computer, since this appears to be a computer specific problem
and I am unlikely tho be able to reproduce the issues here.

However.. you seem to be using "HtmlEditorControl.dll" and interoping with
"SHDocVw.dll"

I would guess that either "SHDocVw.dll" is not present on the destination
computer or alternatively "SHDocVw.dll" or "HtmlEditorControl.dll" have some
dependancy which is not preset.

Without a specific error mesage it's hard to guess.
 
Ad

Advertisements

G

Guest

Actually it doesnt display any error message.. the application will just keep
on running at the computer processes in the task manager and doesnt load the
MainForm..

the problem occur in all PC which do not have Visual Studio installed.. you
just have to copy the files there and try to execute the EXE file, and you
will observe the problem already..

I do agree that it might have some file dependecies missing, is there any
way i can detect which file it is? because seems .Net compiler cant detect
it for me..

Thanks

Regards,
Hari
 
Ad

Advertisements

R

Rory Becker

Actually it doesnt display any error message.. the application will
just keep on running at the computer processes in the task manager and
doesnt load the MainForm..

the problem occur in all PC which do not have Visual Studio
installed.. you just have to copy the files there and try to execute
the EXE file, and you will observe the problem already..

I do agree that it might have some file dependecies missing, is there
any way i can detect which file it is? because seems .Net compiler
cant detect it for me..

It's been a while since I had to use it but you might try depends.exe from
http://www.dependencywalker.com/

You'll need to run it on the machine where the error happens and it should
help you find out what dlls are missing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top