Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2007

Tip: Looking for answers? Try searching our database.

Need to .net framework SDK to run my application?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hari - 09 Oct 2007 10:38 GMT
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
Michael Nemtsev, MVP - 09 Oct 2007 10:44 GMT
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
Hari - 09 Oct 2007 11:01 GMT
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

"Michael Nemtsev" <Michael Nemtsev>, "MVP" wrote:

> Hello Hari,
>
[quoted text clipped - 24 lines]
> H> Regards,
> H> Hari
Rory Becker - 09 Oct 2007 10:57 GMT
<snip/>

> 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.
--
Rory
Hari - 09 Oct 2007 11:09 GMT
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

> <snip/>
>
[quoted text clipped - 8 lines]
> --
> Rory
Rory Becker - 09 Oct 2007 11:28 GMT
> 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.

--
Rory
Hari - 09 Oct 2007 11:43 GMT
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

> > 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
[quoted text clipped - 16 lines]
> --
> Rory
Rory Becker - 09 Oct 2007 18:14 GMT
> Actually it doesnt display any error message.. the application will
> just keep on running at the computer processes in the task manager and
[quoted text clipped - 7 lines]
> 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.

--
Rory

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.