Tim Smith110731's Q&A profile
Visual Studio Express Editions User Login Troubles
Hi, I pretty new to all of this. I have followed the tutorial on http://beta.asp.net/guidedtour2/ and is working all ok locally. When I uploaded to IIS 6 on a Windows Server 2003 SP1 and tried logging in using login.aspx it gave me this error: An attempt to attach an auto-named database for file C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\WebSite1\App_Data\aspnetdb.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. What solution(s) can I try to get the loggin script working If anymore info is required like the Stack Trace I will ...Show All
Visual C++ Error result 31
Hi I have a VC++ project(VS 2005 beta 2) that gives the error:- Error result 31 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\mt.exe'. Project Could anyone tell me the cause of this It doesnt seem like a program specific error. blitZ We're using the final RTM release of VS 2005 (v8.0.50727.42), and yesterday morning, we started seeing this exact error on two of our build machines (after never seeing it through three months of development). It's happening consistently on these machines and no where else, and we have no idea why. Nothing in the code changes from the last successful bu ...Show All
SQL Server Decryption Question
Hi, I am encrypting a column in a table. When I decrypt, everything is great if the data contained in column is less than 30 chars. If it has more than 30 chars, I still get 30 chars decrypted. Not sure what I am doing wrong. Below are my details: OPEN SYMMETRIC KEY sk_XEncryption DECRYPTION BY CERTIFICATE cert_sk_X SELECT ISNULL(CONVERT(NVARCHAR,DECRYPTBYKEY(columnA)),'') FROM table1 CLOSE SYMMETRIC KEY sk_XEncryption Additional details: "columnA" above is of VARBINARY(4000) datatype. I have enven tried changing the column to VARBINARY(MAX). The data is ecrypt ...Show All
Visual Basic VB Novice Main Menu help
Greetings everyone. I kind of new to VB.net and need help badly. I'm try to create a program, but i can't get the main menu items to work properly. I tried to create a New file. Like creating a new document in MS Word. Does anyone know the script for it. I have some ideas, but reluctant to try it. Hi, Could you give us more details And to what your program is and on what this New button would do. This would speeden up the process of giving you the appropriate answer. cheers, Paul June A. Domag ...Show All
SQL Server sp_dropsubscription, article
Hi There I needed to change a column definition for a published table. I did the following. sp_dropsubscription for publication specifying the one article. sp_droparticle for the specific publication/artcile BOL is not very clear here, i presume this drops the subscription ONLY for the 1 article , correct Secondly i then altered the table accordingly then ran sp_addarticle for the publication/article then sp_addsubscription for the newly defined article. This seems to have worked fine. But i now see there are 2 distribution agents for this publication to this subscriber. What exactly has happended Is the 1 distribution agent now simply dedi ...Show All
Microsoft ISV Community Center Forums Can no longer enter wscript for debug
Hope someone can help me.... I have early installed wscript 5.6, and able to enter and single step a script file. Now now matter what I do, re-install, all kinds of options Wscript will no longer allow interactive debugging... it just executes the script... How do I fix this I am open to suggestions Roman Thanks..... the key was the to use installing the right script engine.... Thansk again.... all is better now roman ...Show All
Visual Studio VSS with Visual Studio .NET 2003 Professional
I have got Visual Studio .NET 2003 Professional, but the Source Control is not activated. What is the best way to get VSS installed, and am I licensed Hi Richard, VSS 6.0d does not come with VS .NET 2003 Professional. It is only included in VS Enterprise editions, on a separate CD. If you want to use VSS with VS Professional edition, you'll have to buy VSS Standalone product. Alin ...Show All
Visual Studio Reportviewer Paper size
Is there any way to set the paper size for the Reportviewer control other than at runtime using the Page Setup button. It always defaults to "Letter" which is not really suitable for all countries. I am using Visual Studio RC1 on Windows Forms application. The problem is in RTM version too. Previous threads talk about this, but no solution at all. Waiting for some tips from MS. ...Show All
Software Development for Windows Vista Kernel debugger?
Hi, I am having problems setting up Vista (5231) for kernel debugging. I am able to use livekd (sysinternals), but I would like to set up a system for remote debugging as well. The first problem I encounter is setting up the boot.ini. It appears that the boot.ini menu is never shown by the boot manager when booting vista. I can either boot "Windows" or a "legacy (pre-longhorn)" system. Other posts I've read seem to indicate that the boot.ini menu shows up when booting legacy systems (ie. winxp), but I don't have one on my system. Next, I noticed that if I hit F8, I can turn on "Debugging" during boot. However ...Show All
Smart Device Development Secure webservice
Hi, I am not quite sure if this is the place to ask this, but I really need help for this subject. I want to secure a web service so only clients with a username and a password can access the web service. The problem is that the clients are both Pocket Pc 2003 PDA's and ordinary C# desktop Applications. The CF2 is not capable of using WSE so what do I do! I have found this article which states that a username and a password can be send along with the SOAP Header. So now I think that this is the answer to my question, but is it also possible to do from a Pocket Pc App Or is there other ways of doing this! Thank you - Nim ...Show All
SQL Server Connection managers - OLE DB
Hi There Quick question.In DTS when you had multiples tasks connecting to the same Database, it was reccomended that you create multiple connections for the same database and let each task use a different connection, thereby making a new connection for each one. In SSIS if i define 1 OLE DB connection to a database, but i have say 6 tasks using that connection that run simultaneously, does eachone open a new connection to the database to make it more efficient Or do i still need to define multiple connections to the same database and assign each task a different connection Thanx Did you have retain same connection set to true I don't h ...Show All
Visual Studio Team System How to Unlock a lock in another workspace
Say a dev has a bunch of files of locked (checkout or checkin locks) and leaves to go on vacation for a month (yeah - bad dev). As a project administrator I see in the security dialog box that I have the right to "unlock other user's changes" but I can't figure out how to do it from the VS UI or the command line. How do you do this Keith, your lock command did actually work. The command doesn't produce any other output because the workspace is not local. So it succeeded, and then it proceeded to let you know that you may need to run get on the computer hosting the workspace in order t ...Show All
Windows Forms How can i check the net status?
How can i check the net status such as connect,or disconnect to the net Another way is to use windows API call to WinInet. It has the best response time but could be less reliable if the IE isn't configurated properly. ...Show All
Visual C++ How to link a dialog box aplication (a plug in one) with o another (base) apllication?
Hello! I have an executable application – name B - which interact through COM interface with another application, lets call this last one, application A. B can obtain the application and document pointers to application A. The problem is that I want to link in some way this two – A & B. Application B is of course a dialog box, but it is not destroy when i close application A and every time i activate activation A, B disappear – i can active of course any time from task bar but the point is that i want to remain on the screen even if I have interact with application A. It is possible to create some kind of dialog e ...Show All
Windows Forms Question about cloning menus
I have an item in the main menu and I want the subitems of this item to be duplicated in a context menu. I clone the subitems as it is described in MSDN. When I do something with a subitem in the main menu nothing happens to the corresponding subitem in the context menu. For example, when I disable a subitem in the main menu the&n ...Show All
