Archive for the 'Visual Studio' Category

TF30063: You are not authorized to access Microsoft-IIS

Deze foutmelding kreeg ik vandaag een paar keer te zien, na wat googlen blijkt dat deze foutmelding wordt veroorzaakt door Selenium-RC. Die past tijdens de installatie een instelling van Internet Explorer aan.

Dit is als volgt op te lossen:

OpenĀ  Internet Explorer, ga naar “Internet Options”… “Connections” tab… “LAN Settings” knop, zet het vinkje uit voor “Use a proxy server for your LAN (These settings will not apply to dial-up or VPN connection).”

‘A connection could not be made to the report server’

Deze fout wordt ontstaat wanneer er een verkeerde TargetServerURL in the Business Intelligence (BI) project is gezet van Reporting Services applicatie.

Controleer deĀ  TargetServerURL in het property scherm van je BI project. Check dat deze URL verwijst naar de ReportServer virtual directory en niet naar de Reports virtual directory (wat vaak de oorzaak is van deze fout).

bijvoorbeeld http://Mijnserver/ReportServer$SQL2005DEV/ en niet http://Mijnserver/Reports$SQL2005DEV/

Meerdere web.config versies is Visual Studio 2010

In de volgende versie van Visual Studio (2010) zal het mogelijk zijn meerdere web.config files te hanteren. Hierdoor kunnen we een web.config hanteren voor de ontwikkelomgeving en een web.config voor de productie omgeving. Aan de hand van de actieve configuratie wordt bepaald welke web.config wordt gebruikt.

multiplewebconfigfiles_1e368fca.png

System.Security.SecurityException: Security error

Wanneer een virtual directory niet op een lokale harde schijf staat maar op een netwerk share treedt de volgende exception op:

Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application’s trust level in the configuration file.
Exception Details: System.Security.SecurityException: Security error.

Dit wordt veroorzaakt doordat de virtual directory niet binnen de My_Computer_Zone code group valt. Dit is als volgt op te lossen:

1. On the Web server, open Administrative Tools, and then double-click Microsoft .NET Framework Configuration.
2. Expand Runtime Security Policy, expand Machine, and then expand Code Groups.
3. Right-click All_Code, and then click New.
4. Select Create a new code group. Give your code group a relevant name, such as the name of the applications share. Click Next.
5. In the Choose the condition type for this code group list, select URL.
6. In the URL box, type the path of the share in the following format:

file:////\\computername\sharename\*

Note Replace computername with the name of the computer that is hosting the remote share. Replace sharename with the name of the share.

7. Click Next. On the next page, select Use an existing permission set, and then select FullTrust.
8. Click Next, and then click Finish.
9. Restart Microsoft Internet Information Services (IIS) to restart the ASP.NET worker process

Bron: http://support.microsoft.com/kb/320268

Uitgebreide uitleg websetup

Ik kwam vandaag dit artikel van Scott Guthrie tegen, hierin wordt uitgebreid beschreven hoe je een websetup moet maken.

Hierin wordt beschreven:

  • Hoe je gegevens(bijv de conenction string) aan de gebruiker kan vragen en deze informatie automatisch laten verwerken in de web.config
  • Hoe je custom schermen maken
  • Hoe je custom actions kan maken en uitvoeren

Gratis goodies bij Visual Studio Express

image

Wanneer je  Visual Studio Express registreert, krijg je toegang tot een hoop gratis goodies (Volledige lijst hier) zoals:

  • Free Controls - Get free controls like the Telerik Rad Ribbon Bar (pictured above) to build Office 2007-style applications, as well as graphing controls from Graphics Server .NET, DevComponents BubbleBar, and more.
  • Free Images/Icons - Get 250 royalty free stock photography from Corbis and Windows Icons from IconBuffet Studio.
  • Free e-Books: Coming soon, you’ll be able to download e-Books on Visual Basic and Visual C# 2008 Express.
  • Discounts - Discounts to home automation gear, Make magazine, Trossen micro-controllers and more.

Ga naar http://connect.microsoft.com om je registreren en de goodies te downloaden

Visual Studio 2008 and .NET 3.5 Released

Today we shipped Visual Studio 2008 and .NET 3.5. You can download the final release using one of the links below:

  • If you are a MSDN subscriber, you can download your copy from the MSDN subscription site (note: some of the builds are just finishing being uploaded now - so check back later during the day if you don’t see it yet).
  • If you are a non-MSDN subscriber, you can download a 90-day free trial edition of Visual Studio 2008 Team Suite here. A 90-day trial edition of Visual Studio 2008 Professional (which will be a slightly smaller download) will be available next week. A 90-day free trial edition of Team Foundation Server can also be downloaded here.
  • If you want to use the free Visual Studio 2008 Express editions (which are much smaller and totally free), you can download them here.
  • If you want to just install the .NET Framework 3.5 runtime, you can download it here.

Lees meer op Scott Guthrie’s blo

Als je al eerdere beta’s hebt geinstalleerd: Uninstalling Previous Versions of Visual Studio 2008

Hmm zou het eindelijk goed werken ? Intellisense for javascript