haber2's Q&A profile
SQL Server access problem
Hi, The Report Server and the server hosting web application are differrent. I have an aspx page with the reportviewer control. If I try to open the page with the report control its giving me a message privilages for the user 'domain/server$' are insufficient for performing this operation ". where the 'server$' is the IIS server hosting webapplication. Please help me in solving this ...Show All
Visual Studio 2008 (Pre-release) IIS with wshttpbinding VS windows service with netftpbinding
Which config would you recomend for a server I think that for a server it should be better the IIS (threads perhaps are used better than using "the iis inside framework 3.0". What do you think I have services hosted both Windows Service and IIS and both work fine. Hosting in IIS provides the following benefits 1. Automatic activation of the Service and no need to write hosting code 2. You can deploy Source or binary (Just like aspx) 3. Health monitor, automatic process recyling and others.... ...Show All
Internet Explorer Development IE 7 opening to Run Once page with error on it.
I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. So what do you recommend I do Uninstall IE7 from my computer and download another version as I originally got the beta version. Then turn of my security center and install it. ...Show All
.NET Development Membership configuration from alternative config-file?
Hi, I have the need to change the default config file, eg app.config, to something different. How can I instruct the Memership class to use the new location I cant seem to find any Configuration-specific properties or methods...And its static so I cant derive my own. Example: private MembershipProvider provider = Membership.Provider; The above line would initialize a provider using the configuration in app.config/web.config using the static Membership class. What I want is to have the "Membership.Provider" to obtain its data from an app.config in another directory. Are there any undocumented Memership instantiators or what do I do -- Werner ...Show All
Visual Basic restrict the program run twice
Hi i have a program that run in service. and this program always start many times due to the different user log in into server. How can code to check the duplicate process and the service is running and prevent it run again. thanks Use a unique Mutex to see if your program is already running. See this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=153674&SiteID=1 ...Show All
Visual C++ CFileDialog subclassing
I seem to be having lots of problems with this, are there any examples around I can get things to work how I expect under VisualC++ 6, but under 2005, I either get ignored (dlg.DoModal() returns instantly with ID_CANCEL), or it crashes with an assertion failure. Under 2005 I've tried two different ways so far (both using code in the overridden CFileDialog methods) Creating a dialog resource and using SetTemplate in the dialog constructor. This reserves the space at the bottom of the dialog, but doesn't show any of the controls, so I just get a lot of blank space. Secondly, not bothering with SetTemplate, and creating my own controls manually in OnInitDone. The controls appear and are usable, but I don't get any messages about them. I've ...Show All
Windows Forms Getting files Advanced properties.
Hi I am trying to get the audio file advanced summary information. which holds the information of the artist and album title, track no and other propery value. If someone know how to get these details please help me out. You see the properties by right click properties -> under summary Tab. and then click on the advanced mode. Thanks you Atheeque Theres a good example here http://www.codeproject.com/csharp/shellid3tagreader.asp on how to do this using shell functions. Alternatively you could research id3 tags (or whatever other tags it has) and how they are stored in the audio file and read them directly using the System.IO classes. ...Show All
Visual Studio adding a where clause
I have a crystal report that grabs all the data from the database, MS Access DB, but I need it to only grab the 1 record a user wants. The user selects an item from a datagridview and I want only that item to display in the crystal report. I tried using the selection expert, but there doesn't seem to be any way to pass a DB ID to crystal reports to use in the Selection Expert or Selection Formula options. I'm using C# if that makes any difference Thanks in advance for the help I know how a follow up question: How do I get my subreports to us the same parameter I passed to the same report The Parameter Field is the same name and data type, but I still get the Pop-up to enter a discrete value. ...Show All
Visual Studio Express Editions Debug without build
Hi I have a solution with 3 projects: Objects: Contains my classes Server: Application server Program: This program connects in Server If i modify only 'Program' project and click in Start debugging, the Visual Studio build all projects, including the 'Server'. How I can fix it Thanks Ps: Sorry, my english is bad... Hi, In the Solution Explorer, select the project you want, right click on it and go to Debug, then choose New Istance. P.s.: Don't worry, also mine is bad...worse ...Show All
Windows Forms Launch Conditions (Installer)
I am trying to create an install for two project solutions I have developed. I would like to have one of the pojects execute only once right after the users install has completed, an initial setup for the other project. How do I configure the installer to perform such a task Thanks Hi You can use a Custom action in the installer for that. You can do programming there for doing such a things like you are asking for. Here is a link that may be helpfull CustomActions Hope this helps Diego Rojas Excelsus ...Show All
Windows Live Developer Forums Display Picture Problem
The main window of MSN messenger, have a list of contact. Usually beside the every list of contact have the contact's small size of display picture. But the msn live messenger of my computer does not show this but only have a green figure. I could see the contact picture at contact card and while chating, but the thumbnail do not show. How to solve this problem Click the double green arrow to the right of "Find a contact or number..." and choose "Show Details" from that menu. To get smaller thumbnails, read this page: http://neuraltransmitter.10gb.org/ ...Show All
Visual Studio "only one database is supported" problem in VS.NET 2005 and VSS 2005
When I select a VSS database from Visual Studio.NET 2005 for opening a solution,it says "only one database is supported" and it prompts me to open the solution in disconnected mode and I can never connect the VSS again. This was working till yesterday . Now I see duplicate paths for the same database. Has anybody seen this and have resolved this Please let me know. Thanks in advance, Ashish You may have somehow gotten different databases written into your solution file. I would unbind the solution (File -> Source Control -> Change Source Control), save, and then rebind it. ...Show All
Visual Studio Express Editions How to turn char* to BSTR?
Hi I am writing a managed C++ program. If I have a char* variable, how could I turn it to BSTR Also, how could I display BSTR on console Thanks. Use the SysAllocStringByteLen() API function. You can display a BSTR with the %ls printf formatting specifier. ...Show All
Software Development for Windows Vista How to establish swimlane!
hello all! can i create a swimlane which present a role that controls a bussiness function permissions and controling the limits,like UML Activity Diagram. thanks . Matt in my mind, UML partitions (or swimlanes) are very similar to roles( http://windowssdk.msdn.microsoft.com/en-us/ms741722.aspx So using WF roles in sa equence or a state workflow could help you I don't know if that helps... ...Show All
Software Development for Windows Vista Call Beep function failed in a service.
Call Beep function would return FALSE, error code:0x6BA, it can worked normally on WinXP. Error code: (Win32) 0x6ba (1722) - The RPC server is unavailable. I would guess that the sound service has not yet started. Beeping the console (as well as displaying any form of UI) from a service doesn't make too much sense in Vista. Services run in session 0, totally removed from any logged in user. In this particular case, if there were multiple users logged into the machine, which user should hear the beep ...Show All
