That's interesting, Mitch. The current coder packaged it using WSP as detailed in this website: http://adefwebserver.com/DotNetNukeHELP/DNN_PackageModule/Default.htm which I thought was pretty slick. I liked (on my local develoment environment) that when I installed his PA it not only installed the module but also made it development ready by copying the source code, as well. I like having the source in there since it makes it easy for me to backup everything in a PA. I would assume if I wanted to distribute the PA made with WSP that I would just delete the code files and be set.
Odd that you mention C# code. The module was made completely in VB.NET to my knowledge.
I'm curious why you don't use WSP. I'll google and see if I can't figure that out. Has anybody made a WAP tutorial that is as good as the WSP one I posted that covers using Visual Studio 2005/SQL Server 2005? I'll take a look at the pinned posts in here and see if I can find one.
Mohsin, thanks for your comments. I deleted the modle from the ModuleDefinitions table and then deleted all modules of it from the Modules table. I did this after uninstalling it from the Host menu first which did delete it from the ModuleDefinitions table but did not delete it from the Modules table. I then reinstalled and still got the unique key violation. I'm going to take a better scrub here and see if I can't fix it.