qualnet.exe has encountered a problem

Installation/Start-Up issues such as compilation, linking & more.

Moderator: support

qualnet.exe has encountered a problem

Postby learner » Fri Jul 09, 2010 3:46 pm

Hi Support,

I installed qualnet 4.5 version and compiled and it compilation was fine. Now when I try to run any scneario from GUI or I run qualnet default.config from the command prompt it throws a windows error crashing saying "qualnet.exe has encountered problem and needs to close. i tried re installing and compiling again but itgave me the same error again. I am running university version.
PFA with post of the error I get.
learner
 
Posts: 9
Joined: Tue Oct 20, 2009 3:22 pm

Re: qualnet.exe has encountered a problem

Postby neerajagrawal7 » Mon Jul 12, 2010 10:53 pm

try it again by first clean all objs through "nmake clean" and then compile it by "nmake".
neerajagrawal7
 
Posts: 175
Joined: Sat May 23, 2009 12:09 am
Location: Bhopal

Re: qualnet.exe has encountered a problem

Postby learner » Tue Jul 13, 2010 7:28 pm

Hi,

I have tried nmake clean and then recompiling with nmake but still gives me same run time error when I run a scenario. Could it be a license issue? I dont think so because it says "Attempting license checkout.. success" n then the run time error window.
I would really appreciate help on this.
learner
 
Posts: 9
Joined: Tue Oct 20, 2009 3:22 pm

Re: qualnet.exe has encountered a problem

Postby learner » Tue Jul 13, 2010 8:47 pm

To add to my last post, here is what I tried again now: uninstalled qualnet.. re installed it.. installed sensor network library.. made necessary changes in Makefile to include sensor network lib.. clean all obj files and re compiled it.. all works fine.

I created a simple wireless ad hoc net scenario.. N when i ran it said necesary sensor lib is not included.. but then I did include and recompiled.. and now I run into " run time error.. qualnet.exe error."
On debugging it says: First chance exception at 0x0043bb31 in qualnet.exe: 0xC0000005: Access violation reading location 0x0000004."

I have no idea why is this. Please help
learner
 
Posts: 9
Joined: Tue Oct 20, 2009 3:22 pm

Re: qualnet.exe has encountered a problem

Postby neerajagrawal7 » Tue Jul 13, 2010 10:53 pm

I think you need to contact SNT again to recheck your installer.... may be it gets corrupted.

Check one more thing: once installed you will find a pre-compiled generated qualnet.exe in bin folder. first try to run the any scenario with it. Note that at this point you have not do any compilation activity. Also ensure that yuo are using correct makefile with respect to your VC version.
neerajagrawal7
 
Posts: 175
Joined: Sat May 23, 2009 12:09 am
Location: Bhopal

Re: qualnet.exe has encountered a problem

Postby learner » Thu Jul 15, 2010 11:56 am

When I installed it first and run any in built scnearios they did run. I created a very simple scenario of two devices and it run. But then I had to create a scenrio for mobile ad hoc networks and included sensr network library and compiled it again. now after haveing created the scenario when I run it gives me run time error.
learner
 
Posts: 9
Joined: Tue Oct 20, 2009 3:22 pm

Re: qualnet.exe has encountered a problem

Postby learner » Thu Jul 15, 2010 1:24 pm

attached is the qualnet default.config error I am getting.
learner
 
Posts: 9
Joined: Tue Oct 20, 2009 3:22 pm

Re: qualnet.exe has encountered a problem

Postby support » Mon Jul 19, 2010 6:10 am

Please upload the complte scenario including .app, .nodes, .config file etc. This would help other forum members in debugging.

Thanks,
Tech Support
This information is provided as a courtesy by the QualNet Technical Support Team. We regret we cannot respond to private messages on this forum.
support
 
Posts: 4983
Joined: Wed Jul 31, 2002 1:01 am

Re: qualnet.exe has encountered a problem

Postby learner » Tue Jul 20, 2010 4:20 pm

Hello Support Team,

The problem is not with particular scenario but whenever I create any new scenario i get a run time error.
I am using Qualnet 4.5 university version, MSD R2 2003 and visual c++ 2008 express edition, java jdk 5.
learner
 
Posts: 9
Joined: Tue Oct 20, 2009 3:22 pm

Re: qualnet.exe has encountered a problem

Postby support » Thu Jul 22, 2010 12:06 am

QualNet 4.5 supports Microsoft Visual Studio 2002 or 2003 and Microsoft Visual Studio 2005 or Visual C++ 2005 Express Edition.

For more details, refer to section “2.2 Compiling QualNet” in document “QualNet-4.5-ProgrammersGuide.pdf”.

Thanks,
Tech Support
This information is provided as a courtesy by the QualNet Technical Support Team. We regret we cannot respond to private messages on this forum.
support
 
Posts: 4983
Joined: Wed Jul 31, 2002 1:01 am

Re: qualnet.exe has encountered a problem

Postby NickyBarns » Wed Aug 25, 2010 9:53 pm

learner wrote:Hi,

I have tried nmake clean and then recompiling with nmake but still gives me same run time error when I run a scenario. Could it be a license issue? I dont think so because it says "Attempting license checkout.. success" n then the run time error window.
I would really appreciate help on this.
NickyBarns
 
Posts: 1
Joined: Wed Aug 25, 2010 9:46 pm

Re: qualnet.exe has encountered a problem

Postby support » Mon Aug 30, 2010 3:34 am

Please let us know which QualNet version you are using and on which Microsoft visual studio version you are compiling the code.

Thanks,
Tech Support
This information is provided as a courtesy by the QualNet Technical Support Team. We regret we cannot respond to private messages on this forum.
support
 
Posts: 4983
Joined: Wed Jul 31, 2002 1:01 am


Return to Installation & Startup

Who is online

Users browsing this forum: No registered users and 1 guest