Thursday, April 30, 2009
Thursday, April 09, 2009
Server Application Unavailable in IIS for ASP.NET application
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
Solution 1:
Open the command promt and direct to the folder C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
and run the command to install ASP.NET in your IIS
aspnet_regiis.exe -i
Solution 2:
To work around this problem, verify that the ASPNET account has the correct user rights as follows:
a) %windir%\Microsoft.NET\Framework\Version\Temporary ASP.NET Files: Full Control
%windir%\Temp: Full Control
b) Application folder: Read
c) %installroot% hierarchy (for example, %windir%\Microsoft.Net\Framework\Version): Read
d) %windir%\Assembly: Read
e) Web site root (for example, %root%\Inetpub\Wwwroot) or the path that the default Web site points to: Read
f) %windir%\System32: Read(Typically, the ASPNET account has already been granted user rights as a member of the Users group.)
-----
---------------------------Microsoft Visual Studio---------------------------
Unable to start debugging on the web server. The web server could not find the requested resource.
Click Help for more information.
---------------------------OK Help ---------------------------
Solution worked for me. Close all the applications and reset IIS in command promt 'iisreset'
problem solved :) cheers
Monday, April 06, 2009
Community Credit Winner! March 2009
Saturday, April 04, 2009
Unveiled new ASP.NET MVC
Clear separation of concerns
Testability - support for Test-Driven Development
Fine-grained control over HTML and JavaScript
Intuitive URLs
More on that...
Silverlight 3 Beta Available...
The next generation luxurious UI framwork...
Learn more ...
Microsoft Most Valuable Professional 2009 :)
Friday, March 20, 2009
Visual Studio 2008 extensions for Windows SharePoint Services 3.0, v1.3
The tools provide item templates for List Definition, List Definition from Content Type, Content Type, Field Control, Web Part, Module, Root File, Template, Event Receiver, and List Instance. It provides project templates for Team Site Definition, Blank Site Definition, List Definition, Web Part and Empty. It works with Visual Basic .NET and C# languages and a comprehensive user guide is included.
There more and more widely enhanced new features are there... download now to explore more...
Thursday, March 19, 2009
metadata file '.dll' could not found in Visual Studio 2005
Later when I explored on this I found some solutions that solved the problem in my development environment. I would like to share it here, so that it may help others.
Cause of the problem:
Files in the format: App_Web_urfile.dll are created when you compile your web application project using Visual Studio 2005. Every time you compile your solution, the Application is compiled into a 'temp' directory which gets read by IIS or the internal web server available in Visual Studio 2005. In some scenerio, especially if you do a more of testing/debugging, the temp folder gets overload and become unable to understand by the application.
The first option is
1. Clear the temp cache files.
2. Stop or Restart IIS and close your Visual Studio 2005
3. Go to: C:\WINDOWS\Microsoft.NET\Framework\v2.0.__\Temporary ASP.NET Files
4. Delete all the files
5. Re-compile your application and then test.
Hope this help
Sunday, March 15, 2009
WCF REST Starter Kit Preview 2
The WCF REST Starter Kit is a set of features, Visual Studio templates, samples and guidance that enable users to create REST style services using WCF. While the October release of the WCF REST Starter Kit focused on building server-side REST services, the Preview 2 release adds features to make client-side REST development easier. Chief among the new functionality included in Preview 2 is a new class that provides a staged pipeline model for requesting resources over the web. Using this new HTTP client class allows the developer to plug into the various stages of communication to handle custom authentication, caching, and fault handling outside of the client’s application logic.
More on codeplexFriday, March 13, 2009
How "VSTO 3.0 for Office 2007 Programming" book born, a true stroy!
Added new ideas and enhanced the content and approached the Europe’s leading technical publisher PackT Publication and get a green signal precede the project. Again started the works get going and finally the book was on store for sale! Thanks to all crew members of PackT Publishing for their dedication and commitment toward the launch of this book.

When I send message to people and friends I got a great appreciation and response from different people. Those messages are refreshing and boosted my confidence to write another book immediately.
Writing a book is a great adventure ... Congratulation for your book ...... very nice cover :) - Ludovic LefortCongratulations! An awesome accomplishment that requires a great deal of focus and sacrifice to execute on. Great job! - Amanda Murphy
Congratulations Vivek. This is a great achievement. Looking forward to seeing your book - soon! - SS AhmedVery nice... i post this in my blog... Congrats!!! - Vladimir MedinaCongratulations Vivek, this is indeed a great achievement! - Cristina Nardini
Congrats Vivek. Way to go! - Suprotim Agarwal
Great Stuff. It's an area waiting to explored. Glad you did it. Looking forward to see more from you :). - Niraj G Bhatt
excellent work Congratulations. - Ajay Pathak
Great Stuff Vivek!! - Amit Bansal
Congratulations – this looks like a great book. - Geetesh Bajaj
Congratulations !! Your hardwork has reaped you this success:):) - Vijayraj vm
Congrats man. Nice selection of subject. - Praveen Nair
Congrats Vivek Wish you follow it up with many more - Shanmuga Sundara Raman
Tuesday, March 10, 2009
WEB 2.0 from Microsoft
The kit includes a variety of content (presentations, white papers, and a sample project with source code) that caters to these audiences. The implementation artifacts for the sample project included in the kit is targeted at solution architects and developers who are familiar with the Microsoft Platform, and who are looking for information on ways to apply related offerings in the context of architecting and implementing Web 2.0 applications & services.
>Learn more>
Saturday, March 07, 2009
MVP Certification Hero Campaign
Help your community to take advantage of this offer to increase their credibility in the market! All they have to do is go to www.learnandcertify.com by March 31, 2009 to obtain a Microsoft Exam Voucher using your MVP Promotion Code.
This will get you more offers Your Unique Microsoft Certification Exam Voucher Code: GS00DRJ3UV
Use the above to get discount on your certification
Thursday, March 05, 2009
Get the Host name and IP address from ASP.NET
The sample code to explain the solution. Paste the same code in the page load event of the ASP.NET page.
using System.Net;
//Get the Host name
string strHostName = string.Empty;
strHostName = Dns.GetHostName();
// Then using host name, get the IP address list..
IPHostEntry ipEntry = Dns.GetHostByName(strHostName);
//Get the IP address
IPAddress [] addr = ipEntry.AddressList;
for (int i = 0; i < addr.Length; i++)
{
Response.Write("IP Address {0}: {1} " + i + addr[i].ToString() + ", HostName: " + strHostName);
}
Thursday, February 19, 2009
Composite Application Guidance for WPF and Silverlight v2.0 (PRISM)
These types of applications typically feature multiple screens, rich, flexible user interaction and data visualization, and role-determined behavior. They are built to last and built for change. This means that the application's expected lifetime is measured in years and that it will change in response to new, unforeseen requirements. This application may start small and over time evolve into a composite client—composite applications use loosely coupled, independently evolvable pieces that work together in the overall application.
Read More
Wednesday, February 18, 2009
Creating Custom Field Types in SharePoint using Visual Studio
> Start Visual Studio.
> On the File menu, click New, and then click Project.
> In the Project Types pane of the New Project dialog box, select Visual C#, and then select the SharePoint category.
>In the Templates pane, click Empty. Specify a Name and Location for the project, and then click OK. Visual Studio creates a solution that contains an empty project.
Visual Studio Extensions for Windows SharePoint Services 3.0 provides support
for creating SharePoint field types through the Field Control project item.
Now we need to add a Field Control to the Project we have created.
> In the Visual Studio Solution Explorer, right-click the empty project created in the previous procedure, click Add, and then click New Item.
> In the Categories pane of the Add New Item dialog box, expand the Visual C# Project Items node, and then select the SharePoint category.
> In the Templates pane, click Field Control. Specify LoginInfoID for the Name of the field control, and then click Add. Visual Studio adds the new field control to the project.
Upload all the .dll files into the Drive:\WINDOWS\assembly folder
At a command prompt, type iisreset to reset Internet Information Services (IIS).
In a view of the list to which you want to add the custom field type, click Settings, and then click Create Column.
Tuesday, February 17, 2009
Here the Training Course Directory in Microsoft
Click here for more
Thursday, February 05, 2009
CAML.NET IntelliSense for SharePoint
CAML.NET IntelliSense for SharePoint
To build a SharePoint feature, you must write CAML, but the raw CAML schemas produce only minimal editing support in Visual Studio. This project extends the raw CAML schemas with fully annotated XSDs that enable IntelliSense to display full SDK documentation while editing SharePoint XML files. Most SharePoint developers know how to add the SharePoint schemas to Visual Studio so you get IntelliSense when editing CAML files. This is a good first step, but only provides the bare minimum of information needed to build solutions. The result is that you spend a good deal of time searching through the SDK documentation for the necessary details for using a particular CAML element or attribute, or to see the list of valid attribute values.
Explore more
Monday, January 19, 2009
Make sure the application for the file type (.aspx) is installed.
After I created new WebSite in VS 2005 I'm getting this error
---------------------------Microsoft Visual Studio---------------------------
There is no editor available for 'C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\WebSites\WebSiteUpload\Default.aspx'.
Make sure the application for the file type (.aspx) is installed.
---------------------------OK ---------------------------
Solution:
run from a Visual Studio Command Prompt, type "devenv.exe /setup" and then "devenv /resetskippkgs" (without the quotes)
Thursday, January 08, 2009
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.
Error
"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
This is the error message caused when I developed the ASP.NET application my development server. After few analysis I found that web.config should be moved to root directory from the sub directory. If you all want to have a web.config in the sub-directory, then the only settings you can specify are authorization, appsettings etc., Another root cause for the problem may be you may have one duplicate web.config file in a subfolder.
Friday, December 26, 2008
Configuration Wizard An exception of type System.UnauthorizedAccessException was thrown.
Facing this problem while running the Configuration wizard after installing the MOSS 2007. Do anyone have fine solution to over come this problem?
One of the solution is : The technique to reset passwords is exactly the same as resetting the accounts used. It gives you an understanding of what accounts affect each service.Also, in some cases resetting the password for domain accounts triggers Sharepoint to reset permissions which can fix odd issues like this.
Even this doesn't solve in another environment!
ASP.NET MVC - Sport Facility Booking system
The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...
-
The project relies on some external service providers. Thus accessing them via their API requires authentication. An API Key need to be su...
-
"The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, II...
-
Excellent outcome by some of the Microsoft Technology community influencers. CAML.NET IntelliSense for SharePoint To build a SharePoint feat...

