Wednesday, November 30, 2005

What happens to the WebAdmin from the Visual Studio 2005?

Today I got a compiled solution from a friend in Asp.Net which is based on .Net 2.0.

Well great, this solution implements the Membership Model. This means first I have to register with a username, password, security question, etc.

But why the hack... I cannot login now. The answer is simple first i need to activate this user. That happens over the WebAdmin. But i dont have a solution i have just *.aspx and the releated *.dll's. How can I run now the WebAdmin for this web like I have it in the Visual Studio 2005?

There is a small trick you can do on your local machine. I don't know if its also works on a distributed environment but it works on my local machine well.


http://localhost/webadmin/default.aspx?applicationPhysicalPath=C:\Inetpub\wwwroot\cg\&applicationUrl=/cg

1) create a virtual directory at the root of your default website
2) name the virutal web "WebAdmin"
3) Set the Path of the virtual directory to
C:\WINDOWS\Microsoft.NET\Framework\%Your Framework Version%\ASP.NETWebAdminFiles
4) If you have already installed the release version your IIS is running with
the latest framework version otherwise change your running verison in the
ASP.Net tab in the Virtual Directory property.
[ i had also to set inside the Authentication Methods the
checkbox: Integrated Windows authentication. ]
5) now you have setup your environemnt set up to run it

http://localhost/webadmin/default.aspx?applicationPhysicalPath=C:\Inetpub\wwwroot\cg\&applicationUrl=/cg


translate it like that

- webadmin : name of your virtual directory
- applicationPhysicalPath: the path to your application on your pc
- applicationUrl: the virtual directory of your own application

Thanks to the author Jeff Widmer .

If you have a another option found inform me please.

UDPATE: in the meanwhile i developed my own webadmin. read more about it over here:
WebAdmin - Membership Management for ASP.NET MVC release 1.0

Tuesday, November 29, 2005

Real-Time Relevance Assessment Tool

Link:
http://www.webmasterbrain.com/seo-tools/seo-experiments/the-search-engine-experiment/

test results:
http://www.webmasterbrain.com/seo-tools/seo-experiments/the-search-engine-experiment/test-results/


Source: Internet Outsider: http://www.internetoutsider.com/2005/11/realtime_releva.html

this mate is more insider then a lot of people I know they just think they are!!!!

Thursday, November 24, 2005

I thought google supports Firefox - unfortunately not!

google comes out a few day's ago with a new service: base [Base.google.com].

Wow, an amazing service for content search. I'm always were impressed how Google comes out with solutions and people just effort thousands of work hours to optimize their environment for them.

The new service efforts a content search, or how others would say: deep search. In past I worked for a company which creates box-office solutions, so I went directly to the Event section of base service.

I liked the redefine options which Google provides and forwarded it to a friend of mine [myself is using IE and he is a Firefox fan]. Back to the redefine search, there are some options like date limitations, which appears as a calender control in IE. The Look & Feel of Google is always simple and friendly and I have pointed to my friend to have a look at the this option. His answer was simple to understand:

what control do you speak about
.

After that I installed Firefox and was surprise to see that Google doesn't makes the effort to provide the same functionality to all internet users. what a pity for Firefox users!

Saturday, November 19, 2005

Usage of Diagrams with SQL Server 2005 and compatibility level of: SQL Server 2000 (80)

Diagrams... yes I like them, to get a clear Idea of a DB I'm usually creating Diagrams. I got a DB from a friend which is working which works with SQL Server 2000 [80]. After I created an empty DB and restored the DB I tried to create an Diagram of its main tables. Every time I wanted to create a Diagram the following message appears:

Database diagram support objects cannot be installed because this database does not not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or ALTER AUTHORIZATION statement to set the database owner to a valid login, then add the database diagram support objects.


at least to me that sounds interesting.... So, naturally I searched for the following store procedure:


USE MyFriendsDatabaseNameIHaveCreated
EXEC sp_changedbowner 'sa'


After I have executed this store procedure I clicked on my new DB and .... again the same message.

I have checked the configuration of this Database I have imported which has a compatibility level of: SQL Server 2000 (80). After playing around with all the different properties I have found out that the Sql Server Management Studio is not able to create Diagrams as long the database runs with the compatibility level of: SQL Server 2000 (80). once you change that to the compatibility level of: SQL Server 2005 (90) you can create as much as you want diagrams.

The Database Diagram tool in SQL Server 2005 uses supporting objects that require SQL Server 2005 functionality. So the readme txt file say's in the documentation of SQL Server 2005. Here is an extract from this text:

To install database diagram support in SQL Server Management Studio, databases must be in SQL Server 2005 database compatibility level. Database
compatibility level can be reset after diagram support is installed.


I just should read the manual ;-)

Thursday, November 17, 2005

XSLT Debugging in Visual Studio 2005

Last view day's I have concentrate myself on xml in new environment 2005

have a look at the follwing very intersting links i have found on MSDN:

XML Tools Introduction

This article is an introduction to the XML Editor and the XSLT Debugger in Visual Studio 2005 (formerly known by the codename "Whidbey").

and also this one:

Building an XPath Visualizer with Windows Forms:

Shared Cache - .Net Caching made easy

All information about Shared Cache is available here: http://www.sharedcache.com/. Its free and easy to use, we provide all sources at codeplex.

Facebook Badge