udiraz's Q&A profile
SQL Server how to correctly work with two (or more) databases?
Does anybody know how to work with two (or more) databases in SQL Server 2005; or where that information can be obtained I searched online, in BOL and asked in this forum but with no success. information in this posting does not work; results in invalid object name (source database) and/or database does not exist (destination database) errors: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=292125&SiteID=1 this post about the database does not exist has received no replies: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=295742&SiteID=1 Of course, both databases exist and their names are valid. Both can be ...Show All
SQL Server Link Report Problems
I have established a set of base reports which are then linked to a variety of department specific folders. Moreover, many of the reports have the capability to "Drill Through". The problem occurs when clicking on a Drill Through field in one of the department specfic folder -- it directs the drill through to a report in the Base folder instead of the department specific folder. Pleaseeeeee help! The behavior you are seeing is the expected behavior for linked reports. Relative paths are resolved based on the location of the source report, and not the linked report. ...Show All
Visual Studio Team System Installing Visual Team Foundation Server 2005 Beta2
Hallo, I have 2 partitions on my portable C : Windows XP D : Small business Server 2003 I formatted the D partition completely on my portable and I reinstalled a clean Windows Small Business Server 2003. The C partition I did not touch at all. Afterwards I installed in the following order (there is nothing else of software installed) -Windows Installer 3.0, -SQL Server 2005 Beta 2 as indicated in the Team Foundation Installation Roadmap for Single-Server Deployment -I installed Sharepoint Servi ...Show All
Visual Studio Adding project to solution
I have Solution with loaded project. How can I add new project (for example C# or VB class library) to this solution programmicaly Is there any way to do that If you want to learn more about this, see the Help topic "Controlling the Solution and Its Projects." (Online, the link to this is: http://msdn2.microsoft.com/library/t51cz75w.aspx .) In addition to this, most all of the solution member language reference topics have code examples to show how to use them. Just hit F1 on the keyword you want to look up. ...Show All
SQL Server Fuzzy Lookup/product level is insufficient
I installed SQL Server 2005 Standard Edition on my XP sp2 workstation, developed an SSIS package, which has run for a week on my workstation. I installed SQL Server 2005 Standard Edition on a Win2003 sp1 server, created the dtsx and install manifest on my workstation, and installed it on the server. If I run the package on my workstation, pointed to the server database it runs fine. If I run the dtsx on the server, it fails with the error: The product level is insufficient for component "Fuzzy Lookup on Name" (83) Yes, I have SSIS installed on both machines, I have verified that I have the SSIS service on the server. Any Ideas Thanks! BobP ...Show All
Visual Studio Team System Disappearing transactions
Hi I have a VB coded test case that looks like this 1. login 2. Do HTTP operation 1 3. While (true) 4. Begin Transaction (operation2) 5. Do Operation2 6. End Transaction (operation2) 7. end while Until I had an infinite loop in there with while, I could see transaction operation2 getting reported both at the aggregate level and at the scenario level. After putting while loop in I do not see transactions getting reported. What I would like to achieve is, Login once, do operations in a loop (with transaction capture on) when timed out , kill this and get out. To achieve the above objective did I config ...Show All
Visual Studio Team System Sharepoint Permissions
I know this thread has been widely discussed in the forum but I couldn't find a solution yet. I followed step by step the single-server installation guide but when I try to create a new project I always get the same error saying I need to be an administrator of SharePoint. I'm using an active directory user that is member of the administrators group (all of them). If I try to access SharePoint Central Administration I just can't log in so I can't add members to SharePoint services administrator group. It seems like if the administrator is not allowed!!! I tried to access also with the TFSSETUP user to ...Show All
Visual C++ How can I using unmanaged dll in .NET?
I write a simple unmanaged dll with a simple class in it, the dll's interface is very simple: /***************************************************/ #ifndef _DLL_H_ #define _DLL_H_ #if BUILDING_DLL # define DLLIMPORT __declspec (dllexport) #else /* Not BUILDING_DLL */ # define DLLIMPORT __declspec (dllimport) #endif /* Not BUILDING_DLL */ class DLLIMPORT MyMath { public: MyMath() : _a(0), _b(0) {}; MyMath(int x, int y); virtual ~MyMath(void); int Add(); int Sub(); private: int _a, _b; }; #endif ...Show All
Windows Forms trackbar with log scale
I need a trackbar that has a logarithmic scale instead of a linear scale. Can someone tell me if this is possible and perhaps suggest how I can accomplish this thanks Bryan Create a class that inherits from the TrackBar. You will need to change the way the Value property behaves. Since Value isn't a virtual property, you will need ...Show All
Software Development for Windows Vista Publish WorkFlow as WebService doesn't work from a VB.Net workflow project?
I have a simple workflow defined in vb.net which compiles and doesn't generate any warnings. When I right-click the project and select 'Publish as WebService' nothing happens; no web project is added to the solution but also it doesn't write any output or errors. However, if I create the same project in C# everything works as expected, and a web project is added. The workflow exists of a WebServiceReceive activity (activate = true) bound to the Start method of the interface and a WebServiceReceive / WebServiceResponse activity pair for the Status method. The interface definition is equal for both projects, and loca ...Show All
SQL Server The Trash Destination Adapter - Really needed?
Quick question... I have a conditional split transform in a dataflow... One of the outputs of the conditional split will take records that are just not needed... Do I have to send that output into the Trash Destination adapter Or can I just let those records hang Will there be a memory leak if I don't use a trash adapter I'm just thinking about if I move the package I'd have to go reinstalling the trash adapter every time... Thanks Let them hang. The Trash Destination is really only for development pruposes, the primary use being to provide a destination thus giving a path that ca ...Show All
SQL Server Export Wizard in Read-Only Database
Hi all, SQL Server Management Studio won't let you invoke the "Import and Export Wizard" in a read-only database (by right clicking on the database in object explorer > Tasks > Export data). This behaviour is perfectly understandable for importing data, but not at all for exports... The only workaround I can think of is to right click on a read/write database and the change the dabase in the wizard. Does anyone know a better solution Thanks in advance Thomas ...Show All
Visual C# Random Division
Hello. I am currently generating 2 random int numbers that will be used to divide between each other (num1 / num2). However, I only want numbers that (when divided), result in an integer number that does not contain a decimal (or remainder). For example: Good numbers: 6/3=2, 10/2=5, etc, Bad numbers: 7/3=2.33, 8/6=1.33, etc. All help is appreciated. Thanks, that should not be that hard. just check if number1%number2 is more than zero. If it is you will get a decimal number like 1.5456, if not you will get an int. Look here for the %-operator: http://cplus.about.com/od/learnin2/l/aa082504e.ht ...Show All
Visual Studio Team System Copy work items in RC
Hi, We need to copy work items from one team project to another (in RC). 1. What is the best way to do this 2. Does the migration process know to translate the Assigned To field from short names to full names Thanks, Michael 1. There's no built-in copy feature I'm aware of. If it's just a couple of work items, there's a "create copy..." on the context menu. If it's more than a few, the easiest way will be to use the object model. 2. Which migration process - Beta3 to RC After migration full names will appear everywhere that aliases previously did, yes. (I believe identities are stored as SIDs under t ...Show All
Visual Studio Express Editions oledb connection in C# expression edition
I'm trying to connect an access database into my c# application. But I'm having trouble to Drag and drop the data connection on the Form to create an OleDbConnection object. I used to use the Visual Studio 2005 and this works, but now I'm using the C# express and I'm not able to drag and drop the data connection. Can someone help me Cheers! Claudia On the data menu, click Show Data Sources. Choose an available data source or add a new one. When you add a new data source, a dialog box enables you to select OleDbConnection. ...Show All
