Thursday, February 19, 2004

 

MS Project: resources overallocation

Google Search: PWA 2002 task time

 

Microsoft Project Stops Responding When You Copy Tasks from Inserted Project Plans

Yes, this is true: Microsoft Project crashes with error message:
"Microsoft Project has encountered a problem and needs to close. We are sorry for the inconvenience." every time when I open Microsoft project with "team" account.

Here is related reference:
329665 - OAER: Project Stops Responding When You Copy Tasks from Inserted Project Plans


Tuesday, February 17, 2004

 

Can't create account when publishing project to Project Server

Can't create account when publishing project to Project Server

MS Project Server Spooler error

This error is caused by project authors (project managers) using local resources in project plans. By default, account creation is set to deny in Project Server, therefore, project managers can’t create accounts for new resources in the system. Project attempts to create accounts for local resources. A local resource is a resource that is not in the Enterprise Resource Pool. Local resources can have Project Server accounts if you want them to. Local resources are indicated in the system as "local" by its indicator icon in the indicators column of the Resource Sheet view. The indicator for this resource will be a single head with a piece of paper to the left of it.



Resolution

Open Microsoft Project and log into Project Server with an Administrator account
Click Tools - Enterprise Options - Open Enterprise Resource Pool selecting resources to update
Double click on a resource
On the General tab, set Workgroup value to none
Leave the email address blank
Alternately, setting the resource type to Generic will prevent the error.


 

Microsoft Project: You are attempting to publish a non-enterprise project

Google Groups discussion
A non-enterprise project is any project that is not saved in the Project
Server database because you were not logged into Project Server when you
created it. To solve this problem, please do the following:

1. Open Microsoft Project 2002
2. Click Tools - Enterprise Options - Microsoft Project Server Accounts

In the dialog box, there is a "Current Account" setting just below the
Add... button. If the "Current Account" setting says "My Computer", then
you are NOT logged into Project Server. If this is the case, click the
Add... button, then create and test the new account, and then set the
account as the Default account.

3. In the lower left corner of the dialog box, click the "Manually control
connection state" option
4. Click the OK button
5. Close Microsoft Project 2002, then relaunch the software
6. When prompted, select your correct user account (not the My Computer
account) and then click the Connect button

Once you are logged in to the Project Server through Microsoft Project 2002,
you will now need to import your project to the Project Server database
using the Import Wizard. To do this, click Tools - Enterprise Options -
Import Project to Enterprise. Follow each of the steps in the wizard to
save the project in the Project Server database, then you can publish it.

See also: You are attempting to publish a non-enterprise project

Monday, February 16, 2004

 

VSS problem: "File is already open"

File is already open.: " is already open."

Saturday, February 14, 2004

 

FormsAuthentication.Decrypt causes System.Security.Cryptography.CryptographicException: Bad Data Error

If you have "Bad Data" error - remove "IsolateApps" attributes from machine.config file:
1) Open C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config
2) Find "<machineKey"
3) Remove two "IsolateApps" attributes from <machineKey> element.
Before:
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="SHA1"/>
After:
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1"/>
4) Restart IIS.

Removing of "IsolateApps" attributes from machine.config is necessary in order to provide smooth security integration between several web-applications.
More details:
microsoft.public.dotnet.framework.aspnet.security: FormsAuthentication.Decrypt causes System.Security.Cryptography.CryptographicException: Bad Data Error



 

ASP.NET Debugging

Setup ASP.NET debugging

Remote Debugging Components Install
Frequently, users want to remotely debug an application running on a separate machine. Visual Studio .NET provides a smaller subset of components that, when installed on a remote machine, and once you give yourself sufficient privileges, allows you to remotely debug processes on that machine. This installation is extremely useful when you do not want to install the entire Visual Studio .NET onto a remote machine. The installation of these components is started with the Remote Components Setup link at the bottom of the Visual Studio .NET Setup page of the CD. Clicking this link allows you to install remote debugging components for all languages that use DCOM to communicate with the debugger, or just C++ only (if you prefer the Visual C++ 6.0 method of remote debugging over TCP/IP).


Friday, February 13, 2004

 

How to install FacSys client

Facsys client installation files

 

"HTTP 1.1 500 Internal Server Error" ASP.NET

"HTTP 1.1 500 Internal Server Error" ASP.NET solution by Stuart Campbell
Microsoft Development Environment
---------------------------
The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal Server Error'.
---------------------------
OK Help
---------------------------

I found LOADS of 'solutions' to this problem on the web and in the
newsgroups but nothing seemed to work.
Finally, The one that worked for me was the simplest of them all:
.......make sure that the default website in IIS has an application!!!!!!!

Friday, February 06, 2004

 

Reconfiguring asp.net account on IIS server


1) Save encrypted processModel username and password into registry.
Run this command:
\\DENNISGORELIK\INSTALL\aspnet_setreg.exe -k:SOFTWARE\MY_SECURE_APP\processModel -u:"wurzburg\aspnet" -p:"AskDennisOrRonOrShaunAboutThisPassword"

2) Edit machine.config:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config
• Find processModel element
• userName="registry:HKLM\SOFTWARE\MY_SECURE_APP\processModel\ASPNET_SETREG,userName"
password="registry:HKLM\SOFTWARE\MY_SECURE_APP\processModel\ASPNET_SETREG,password"
3) Give Read/Write permissions to Wurzburg/aspnet account for these folders:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET FilesC:\DOCUME~1\WURZBURG\aspnet\LOCALS~1\TempC:\Inetpub\wwwroot\Reports\ExportedReports4) Restart IIS server
iisreset

 

URI manipulations

string WebServiceUri = Context.Request.UrlReferrer.GetLeftPart(System.UriPartial.Path);
Uri uri = new Uri(WebServiceUri + "/..");
string ApplicationFolderUri = uri.ToString();


See also:
System.Uri - (Apparently) Poor API decisions..: "uri.Segments"

 

%INSTALLROOT%

%INSTALLROOT% = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322"

 

How to encrypt UserName and Password in ProcessModel element in machine.config

http://radio.weblogs.com/0118356/2003/05/17.html
Security Note: If you do not set a restrictive ACL on the machine.config file, putting your userid and password in cleartext allows anyone to see your password. Even if you set a restrictive ACL, all users in the Administrators group will still be able to see it.

My resolution to the above Security Note was the following. Use the aspnet_setreg.exe utility to put an Encrypted version of my account userid and password in the registry by using the following command:

aspnet_setreg.exe -k:SOFTWARE\MY_SECURE_APP\processModel -u:"YourUserName" -p:"YourPassword"

Then modify the processModel as follows to point it to the registry:

userName="registry:HKLM\SOFTWARE\MY_SECURE_APP\processModel\ASPNET_SETREG,userName"
password="registry:HKLM\SOFTWARE\MY_SECURE_APP\processModel\ASPNET_SETREG,password"
...... />


 

Impersonation

Identity section (Impersonation)

Thursday, February 05, 2004

 

AI

AI Blog
AI development overview

 

Crystal Reports troubleshooting

If you get error:
CrystalDecisions.CrystalReports.Engine.DataSourceException: Query Engine Error: 'C:\DOCUME~1\DENNIS~1\ASPNET\LOCALS~1\Temp\temp_41c1a40a-eb46-4063-9066-f34041e7c331.rpt' at …"
That means that you use wrong database query. It happened because you use wrong database.
======================
If you get Error Message:
Error in File C:\DOCUME~1\DENNIS~1\ASPNET\LOCALS~1\Temp\temp_e45b025b-7673-4646-a8b5-f1855e745092.rpt: Request cancelled by the user.
And Error Source:
CrystalDecisions.CrystalReports.Engine
That means that your network printer does not permit access to IISServer\ASPNET user.

 

Crystal Reports: more merge modules

VC_CRT.msm
VC_STL.msm
https://www.quickbase.com/db/8ysswmrr?a=q&qid=1

 

Crystal Reports printing problem

184291 - PRB: COM Objects Fail to Print When Called From ASP
184291 - PRB: COM Objects Fail to Print When Called From ASP

Monday, February 02, 2004

 
Authentication and Security Mechanisms in ASP.NET Web Applications

This page is powered by Blogger. Isn't yours?