ceiling's Q&A profile
Visual Studio 2008 (Pre-release) Security question
Hi, I'm probably being dense, or haven't read enough documentation, but I'm a little confused about a simple security question. I'm hosting a service, in a console app for now, exposing a single operation taking a path as a parameter and returning a stream. But when the service attempts to access the requested file, what credentials will be used to access the file Will it be the user name under which the console app is running, or will it be the user under which the client is running Does it vary depending on what security mode is in use Thanks for any help. -Chris When a user access a service there are 2 credentials in question. One is that of the service, the process of the service has a set ...Show All
SQL Server Getting "Permission denied" error in ExecuteSQL task
The purpose of the Package is to load an SQL table with data from text files in a subdirectory. The parameter is parsed from the text filenames. It is a zipcode. I have an ExecuteSQL task inside a ForEach container. The SQL in the task is: IF EXISTS (SELECT * FROM dbo.ZipCodeRadius WHERE CenterPostalCode = 1) BEGIN DELETE FROM dbo.ZipCodeRadius WHERE CenterPostalCode = 1 END I also have a Data Flow task in this container which populates the ZipCodeRadius table. The same parameter is also passed to the Data Flow task which specifies a zipcode to delete and afterward load. I am using Windows authetication for the package. What am I doing wrong Fred The error is: [Execute SQL Task] Error: ...Show All
Game Technologies: DirectX, XNA, XACT, etc. About MDX and XNA.
I heard that MDX2.0 was killed by XNA. That's the full story I thought MDX2.0 is part of XNA. I am a getting concerned because I like MDX and I don't want to see the end of it this early. Also I heard XNA does not support all the features that a MDX can do. Please, fill me in. MDX 2.0 was the base for what is now knows as the XNA framework. You are right that there are still things that were supported with MDX that did not make it in XNA Framework Version 1.0. But as XNA will be improved in the future there is a high possibility that some features will have a come back. ...Show All
Visual C++ Default argument and Virtual Function..........
why while run time polymorphism the default value of the base is taken not of derived.. class base { public: virtual function(int i, int j = 78) { cout<<i<<" "<<j; } }; class derived:public base { public: function(int i, int j = 55) { cout<<i<<" "<<j; } }; int main() { derived d; base *b = &d; b->function(12); } AND THE OUTPUT IS 12 78 and i think it shuld print 12 55 Because you did not declare the function as virtual in the derived class. Therefore the derived class is not overriding the base class's implementation of it. So when you call it with a "base" level reference you get the ba ...Show All
Visual C++ SQLCHAR problems
Hi, i'm a starting to develop some apps with odbc and visual c++ but i'm having some problems. I'm trying to make a simple Select query against my database, the conection is working fine and when i set the query hardcoded everything worked ok, but then I tried to add a little flexibility by making the where clause variable, founding the next code in msdn #define DESC_LEN 51 #define STATEMENT_LEN 51 SQLUINTEGER PartID; SQLCHAR Desc[DESC_LEN], Statement[STATEMENT_LEN]; SQLREAL Price; // Set part ID, description, and price. GetNewValues(&PartID, Desc, &Price); // Build INSERT statement. sprintf(Statement, "INSERT INTO Parts (PartID, Description, Price) " "VALUES (%d, '%s', %f)", PartID, Desc, Pric ...Show All
Visual Studio Express Editions Multiply Users Accessing SQL2005 Express Database
Hi All, Not sure if I'm posting this in the correct location. I've created a SQL 2005 Express Database from with VB2005 Express. I want users to login with a username and password and have diffrent rights, etc.... What's the best way of going about this Thanks in advance Wayne Generally you would manage this within SQL Server (express) 2005 management studio in the users/login section of the database ...Show All
Visual Basic Missing ApplicationLog.exe
I am learning Visual Basic 2005 and I am going through the WalkThroughs in the MSDN documents. Today I was working on one that was writting to the application log. The program aborted because it could not find the program ApplicationLog.exe. The complete path is c:\Document and Settings\Robert\LocalSettings\ApplicationData \TemporaryProjects\ApplicationLog\bin\Debug \ApplicationLog\bin\Debug\ApplicationLog.exe. When I looked for the path it wasn't there. Well, everything up to and including Robert was there. Bad install Thanks Bob Hmm - the doubled ApplicationLog\bin\Debug\ApplicationLog\bin\Debug is strange. Did you build the application without errors -- SvenC ...Show All
Visual Studio Tools for Office UserProperties are disappearing on Appointment
I'm having a problem where the UserProperties that I have set from a Outlook Add-In are being reset after the appointment has been changed in Outlook Web Access. I am creating a new appointment using my Outlook Add-in and setting 8 UserProperties against the appointment. If i view the appointment using OutlookSpy it says the UserProperties count is 8 (which is correct). If I go into Outlook Web Access, change something with the appointment and then go back into OutlookSpy and check the UserProperties count it still says 8. But if I go back into Outlook Web Access again and make another change, then go back to OutlookSpy and check the UserProperties count, it is now set to 0. It seems to always reset it after the 2nd change. Any ideas on w ...Show All
Visual Studio Express Editions relative path in my c# prog
where/how can i tell my C# program to use -relative path- for all the files that i access from it thanks for your help with this... thanks. is there any parameter/option that i could check as compile and/or publishing time to specify that my "local" path should be the path ...Show All
SQL Server exporting an analysis server db from one server to another
how do i export an analysis services from one server to another i recently upgraded from analysis services 2000, so i didnt create the analysis services database and cubes in server 2005. Remember how you could save your db in analysis server 2000 as a cab file. is there any way to do that in analysis server 2005, so that i could simply then copy teh file over to a new server and add it In BI-Dev studio there is a project/template where you can import and generate scripts for that SSAS2005 cube to a project/script. If you successfully import this you will have scripts that you can deploy to a second server. The other way is the Deployment Wiza ...Show All
SQL Server The multi-part identifier could not be bound.
hi, i don't know what the prob with my code: create table #tmpAllocation ( [ResourceID] int , [Resource] varchar ( 50 ), [WorkTeamID] int , [WorkTeam] varchar ( 100 ), [LineModuleId] int , [AccountId] varchar ( 100 ), [VpIdentifier] int , [DivisionId] varchar ( 100 ), [GroupId] int , [Account/Version] varchar ( 100 ), [version_id] int , [1] numeric ( 9 , 5 ), [2] numeric ( 9 , 5 ), [3] numeric ( 9 , 5 ), [4] numeric ( 9 , 5 ), [5] numeric ( 9 , 5 ), numeric ( 9 , 5 ), [7] numeric ( 9 , 5 ), numeric ( 9 , 5 ), [9] numeric ( 9 , 5 ), [10] numeric ( 9 , 5 ), [11] numeric ( 9 , 5 ), [12] numeric ( 9 , 5 ), [13] numeric ( 9 , 5 ), [14] numeric ( 9 , 5 ), [1 ...Show All
Visual Studio Express Editions I can't connect with SQL Server 2000
I am using visual basic express edition. in the data sourse there is no driver displayed for sql server 2000 rather sqlserver 2005 express edition. how can use sql server 2000. Imports System.IO Imports System.Data Imports System.Data.Common '' The sqlnet class with the KN2 Project Imports System.Data.SqlClient Public Class SqlNET 'This class is a class of I/O routines that knows nothing about the application. It knows only about I/O. 'It can be considered the bottom layer. All through the code, this class is instantiated as instance ioEngine Protected m_ConnectionString ...Show All
Windows Search Technologies Removing deleted documents from the index
How are deleted files handled in WDS I am writing a custom protocol handler for a proprietary data store and was wondering how to let The Gatherer know that a file is deleted. Is this handled automatically Does it just know that a file is deleted when it can no longer crawl it Is there any way to make this more robust by notifying the gatherer that the file is deleted before the next crawl Thanks, Alan ...Show All
Game Technologies: DirectX, XNA, XACT, etc. When will the next beta of GSE be released?
When will the next beta of GSE be released Well the reluctance is rather focused on not wanting to reveal anything but the obvious intention to try to release the full version as soon as possible. But I don't expect you to give me an exact date. I think that what most of us here would find very helpfull is a statment saying we are trying to get the new version out in 2-4 weeks. ...Show All
.NET Development AD Authentication across domains
Hi, I have an ASP.net web application which has Forms authentication enabled. The users are authenticated by connecting to Active Directory using .net directory services. Everything was working fine untill the search domain matched with that of the domain of the server where the code is deployed. If i deploy the same code in a different server which is under a different domain, my authentication fails as by default it checks the domain of the server first rather than using the domain giving in the AD(LDAP) path string. How can I achieve cross domain authentication Web server is a windows 2003 machine and .net framework used is 1.1 Any input is highly appreciated. Thanks, Dinakar Folks ...Show All
