Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 6th, 2003, 12:41 PM
Registered User
 
Join Date: Jun 2003
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?
 
Old June 6th, 2003, 05:59 PM
Authorized User
 
Join Date: Jun 2003
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...;)
 
Old June 9th, 2003, 09:13 AM
Registered User
 
Join Date: Jun 2003
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.
 
Old June 14th, 2003, 08:41 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
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
 
Old June 16th, 2003, 10:03 AM
Authorized User
 
Join Date: Jun 2003
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
 
Old June 21st, 2003, 10:11 PM
Registered User
 
Join Date: Jun 2003
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.
 
Old November 12th, 2005, 01:09 PM
FT FT is offline
Authorized User
 
Join Date: Oct 2005
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?


 
Old November 12th, 2005, 03:01 PM
Friend of Wrox
 
Join Date: Jun 2003
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





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.