fafnir's Q&A profile
SQL Server Understanding RS Security
I have an asp.net 2.0 app that calls the Render() method on Reporting Service (web service) because I need to (programatically) save the report as a pdf. At one point, everything was working fine. But I upgraded my server from Win 2000 Server to Win 2003 Server and I am having problems now. When the Render() method is called, I get the following exception: "The permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this operation." If anyone can tell me how I grant that permission, I'd appreciate it. I also access the same report via the ReportViewer control (the .net 1.1) version and that part ...Show All
Smart Device Development Access & PocketPC
Hello Its probably not the right forum but heres my question: Active Sync has an entry to Sync Pocket Access but the Pocket PC has no Pocket Access installed so what does it do Because I have an MDB File (Data + UI), which i also want to use on a PDA (recipe Database ;-) ). Is this possible in a simple way or must I write an Application one the PDA which use the CDB File Regards Norbert There has never been a Pocket Access application for Pocket PC (it was present in older Handheld PC platforms) but the underlying format was supported. It is now deprecated in favour of SQL CE (now SQL Mobile). If you are starting a n ...Show All
Visual Basic VBasic .Net Standard version and Win XP Home Edition
Hi everyone, I am begin to programmer in VBasic .Net 2003 standard version and my laptop with windows xp home edition, there are any difficult or troubles with this configuration I am going to develop application and ODBC to FoxPro database please help me to know if I need to upgrade somthing Thank you Jesus Hi, Yes you can install VS even without the presence of IIS. But if you want to develop Web-apps then you should connect to a webserver since you use WinXP Home ed.... cheers, Paul June A. Domag ...Show All
Visual Studio Team System How to use TFS best as a code-reviewer
Hello, we are using Beta 3 Refresh of TFS along with VS2005 and the Team-Explorer. 1) I should be able to do a weekly codereview. Is there a specialized view for this Getting the whole history, opening each history-element, comparing the version with the previous version takes way too long. 2) I am missing an information: We got two branches. We merge from one branch to the other. When I do my review I would like to be able to see, whether this change has been merged into it from the other branch. Any suggestions Thanks a lot. 1) tf diff $/folder/under/review /r /version:D1/10/2006~T will ...Show All
Visual C++ a vector of pointers in a for loop
I'm currently getting a illegal direction error when using the following code. The error is coming up when I set up the for loop Code: int saveBook(vector<Address*> a, ofstream& out) { //For loop that writes to the temporary file in the correct //format in order for it to be read in to the progam again //cout << (*a).size(); for(int i = 0; i < (*a).size(); i++) { out << "/" << a ->getFirstName() << "/" << a ->getLastName() << "/" << a ->getHouseNumber() << "/" << a ->getStreet( ...Show All
Visual Studio 2 Patterns for single Crystal Report (rpt) file
Hi everybody, Is it possible to display two different pattern of reports and must be on separate pages First Page displays a summary, second page displays details and other info. Having problem doing this placing except for company details on page header and the rest on the Details part of the report. Pattern: First Page: Company Logo Company Name Company Address Statement of Account Statement Date: (system date) Period Covered: (date from filter page) Control Number (data from db1) Company: (company name from db2) Address: (address from db2) Total Balance ( ...Show All
Visual Studio Express Editions how to add new users with SQL Server Management Studio Express CTP
hi, someone maybe can help me how to add new users, that they could connect to my MSSQL 2005 server, i trided myself, but i didn't make it.. thanks This probably should have been posted somewhere else being that this is the Installing and Registering forum but here is how to add a new user for SQL 2005: 1) Connect via Management Studio 2) Expand Security 3) Right click Logins and select New Login From there you can configure that new user. Remember to set the authentication mode for the server. It's set to windows authentication by default. ...Show All
Visual Studio Team System Confusion when the Merge target solution is not loaded
Merging when the source branch solution is loaded into VS and the target branch isn't throws you off for a moment because you know there should be pending changes but there aren't any. At least not until you load the target branch solution. This is a rough-edge IMO. What if I merge branches and the merge spans multiple solutions Do I need to load each solution in order to checkin all the pending changes from within VS I know there's probably an easier way to do this from the command line but folks are probably going to prefer to stay in VS when possible. Do you ...Show All
SQL Server June CTP
I have this installed, I LOVE the virtual session stuff. Very nice to get up and running. I see it expries in 14 days as of 10/14/2005. Why is that. Will you provide trial editions of the final product in this format. Is there a way I can trick it to keep going. I don't want to lose 'all set up learning environment'. Suggestions Can I change a system date and not get the session to sync Thanks Matt -- we've met before at PASS 2004 when my last image expired I think :) ... this time much better around. I have to tell you guys this is a great thing. Cheers. (Good articles as well). ...Show All
Visual C++ Microsoft.VC80.MFCLOC errors
I get the following SidebySIde error upon start up of my app: Event Type: Error Event Source: SideBySide Event Category: None Event ID: 59 Date: 11/23/2005 Time: 1:44:24 PM User: N/A Computer: VMXP Description: Resolve Partial Assembly failed for Microsoft.VC80.MFCLOC. Reference error message: The referenced assembly is not installed on your system. How do I fix this error Please help. Note, the app runs, but there are a total of nine errors during startup. AFAIK this are the localized versions of the MFC 8.0 and there is none available. but the manifest is asking for it. Add this file ...Show All
Visual Studio Express Editions Why The H*ll Doesn't This Work
Hi There Module Module1 Sub Main() My .Computer.Printers.DefaultPrinter.WriteLine( "Hello World WithOut a Printer" ).Print() End Sub End Module Cheers Bronco Billy "Beer and Fast Women are Ok... No Cigarettes or Hard Liquor Allowed Hi, In Visual Studio 2005 we've tried but could not find a good enough solution for My.Computer.Printers. Due to the resource constrain, this feature was cut in the final release of the product. We will continue to investigate to improve the printing experience in the next release. For now, you can take a look at this article http://msdn.mi ...Show All
Visual Studio How to add custom control to Visual Studio 2005 Toolbox?
Hi all, I am working on a Windows Forms custom control now and I would like to place my control right on the Toolbox window after installation, however, this seems to be a problem now. I notice that EnvDTE and EnvDTE80 namespace and the DTE2 interface seem to provide customization of VS IDE environment, and I tried as follows: 1> Get a DTE2 instance by Activator; 2> Use DTE2.ToolWindows.ToolBox.ToolBoxTabs.Add to add a new tab; 3> Use ToolBoxTab.Add(name, object, vsToolBoxItemFormat) to add my control. here name="Control1", ie, and object=@"C:\Control1.dll" as mentioned in MSDN. Here is the problem. this method should retu ...Show All
Visual C# Masking PAsword in Console application
I am writing a Console application, in which the user is prompted for a password. How do I mask the password, that the user is typing in C# Thanks for your help. A great article can be found on codeproject: .NET Console Password Input By Masking Keyed-In Characters . ...Show All
Visual Studio Team System How to connect to Database?
How do I get connection to the databases that Team System are using I went to Report Server and copied settings from shared connection but still can't connect. Any ideas Thanks Shimon I am assuming you want to connect to the databases for reporting purposes, in this case you can just use the datasources(TfsOlapReportDS, TfsReportDS) used by our OOB reports. You can see the details about the connections string of each one of them by clicking on them in your report server by browsing to: http://<Application-Tier>/reports Checnk out the following post for more information about the differe ...Show All
SQL Server Convert row data into Column
Hi members I got the result set as shown below (By executing another query i got this). Month Status Count ===== ====== ===== April I 129 April O 4689 April S 6 July I 131 July O 4838 July S 8 June I 131 June O 4837 June S 8 May I 131 May O 4761 May S 7 But, I need the same result set as below Month I O S ===== = = = April 129 4689 6 July 131 4838 8 June 131 4837 8 May 131 4761 7 Can anyone provide me the tips/solution. Select Month SUM(CASE WHEN Status = 'I' THEN Count END) AS I, SUM(CASE WHEN Status = 'O' THEN Count END) AS O, SUM(CASE WHEN Status = 'S' THEN Count END) AS S FR ...Show All
