Results 1 to 14 of 14

Thread: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Been getting an error trying to install a service and finally realized the server is still using 2003. Thanks!

    Sean
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    ok... so... the problem is.... what exactly? If you want to specifically target a 32-bit environment, then target it.

    But then again... it could be the wrong answer to the problem since you didn't specify what the error is. For all I know it could be a divide by zero error, a 404 error, or something completely different.


    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Sorry the service installs fine locally, but when I install it on the 2003 Server and try to start it I get the following error: Error 193 0xc1. Saw a post that suggested this was a 32 versus 64 bit issue, although that hasn't resolved it.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  4. #4
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Try checking the service logs.... usually there's a lot more information in the error logs than in the error message.

    -tg

    Control Panel -> Administrative Tools -> Event Viewer.... Windows Logs -> Application.... look for any messaged registered by your application... or anything that's from the timeframe when attempting to start the service.
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Know what the command-line is to launch the Event Viewer off hand? I've noticed for some reason the "brilliant" IT people here have removed a bunch of the standard apps from Control Panel/Admin Tools.

    eventvwr.msc found it
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    The CRIS Reporting Service service failed to start due to the following error:
    CRIS Reporting Service is not a valid Win32 application.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Name:  86.png
Views: 94
Size:  114.9 KB

    Is this right to set it?
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  8. #8

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Er hang on...
    Attached Images Attached Images  
    Last edited by SeanGrebey; Nov 15th, 2013 at 11:01 AM.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  9. #9
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Hurry! Fingers slipping!

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  10. #10

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Name:  10871314555_9ee869d29e_b.jpg
Views: 101
Size:  154.3 KB
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  11. #11
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    only if you're deploying the debug version... otherwise you need to switch over to the "Release" configuration...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  12. #12
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Here's something interesting...
    http://stackoverflow.com/questions/1...ws-server-2003


    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  13. #13

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Quote Originally Posted by techgnome View Post
    Here's something interesting...
    http://stackoverflow.com/questions/1...ws-server-2003


    -tg
    Ugh ok that helped a bit, thanks. This thing is using some in house DLL's that I'll need to go rebuild as 32 bit probably...
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  14. #14
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,537

    Re: In VS 2012 Who do I target a 32 bit version of Windows instead of 64 bit?

    Well, as long as you aren't targeting something specific to FW4.5, change the target FW to 4.0 and then recompile it to the x86 CPU settings... that should do it.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width