Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 6th, 2003, 12:41 PM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Page 33 Creating digital signature

Using the command window in VS.Net attempting to create a digital signature file it recommends typing the command SN -K ThePhile.SNK to create the digital signature file. I get back "Command "SN" is not valid." What might I be doing wrong?
  #2 (permalink)  
Old June 6th, 2003, 05:59 PM
Authorized User
 
Join Date: Jun 2003
Location: , , Switzerland.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think that you should use the VS.NET Command Prompt in the VS.NET Tools and not the command window in the VS application...;)
  #3 (permalink)  
Old June 9th, 2003, 09:13 AM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks dikkjo, I appreciate the help, as some of this material is very new to me.
  #4 (permalink)  
Old June 14th, 2003, 08:41 AM
Friend of Wrox
 
Join Date: May 2003
Location: Delhi, Delhi, India.
Posts: 230
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Bmiller

There is one more thing u should take care about while using the SN from the VS.NET command Prompt. Instead of as listed in the book SN -K, you should use SN -k. As you can notice the lowercase of -k parameter.

This is also listed in the errata section of the book on wrox.com under the following URL

http://wrox.com/books/errata/0764543776_errata.shtml
  #5 (permalink)  
Old June 16th, 2003, 10:03 AM
Authorized User
 
Join Date: Jun 2003
Location: Bolingbrook, IL, USA.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I myself have never gotten SN or sn to work in the VS command line... don't matter though. I have generated a strong name (key) successfully using sn.exe directly. It's located here, assuming drive C:

C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin>

If you run it from here, you'll do just fine.

Allen
  #6 (permalink)  
Old June 21st, 2003, 10:11 PM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks I've got it now. I appreciate everyone's time and help with this.
  #7 (permalink)  
Old November 12th, 2005, 01:09 PM
FT FT is offline
Authorized User
 
Join Date: Oct 2005
Location: , , .
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi All
I am trying to make a new web-application
and I get this error in the comand promt

SN -k VRS.SNK
Command "SN" is not valid

can anyone help me?


  #8 (permalink)  
Old November 12th, 2005, 03:01 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you read the other messages in this thread? You need to use the Visual Studio Command Prompt.

Or you can just drill down on your folders to locate sn.exe - or you can search for it with Windows explorer.

By the way, most newbies to ASP.NET probably will not have any reason to use a strong name key. This is possible to use, but provides you with no real benefit unless you have to install an assembly in the GAC. And most websites do not use the GAC.

Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to implement the digital signature kotaiah J2EE 0 May 11th, 2007 05:06 AM
How to create Digital Signature using certificate iron_ ASP.NET 1.0 and 1.1 Professional 0 September 5th, 2005 10:02 PM
Adding Digital SIgnature in ASP.NET web form tanusree_ghosh General .NET 0 December 20th, 2004 01:59 PM
Incorporate Signature thru Digital Pad ashu_gupta75 Classic ASP Basics 0 May 14th, 2004 01:24 AM
Digital signature verification using PHP. Hawk PHP How-To 0 July 16th, 2003 08:23 AM



All times are GMT -4. The time now is 07:20 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.