Showing posts with label default. Show all posts
Showing posts with label default. Show all posts

Wednesday, March 28, 2012

Suddenly being prompted for username and password on new site?

I have a small site that I launched a week ago. All static pages other than one page that emails user inquiries to me. I just had the default permissions and no extra authentication setup, no logins, etc. I changed one word on one page this morning, published the site to our webserver through VS2003, everything worked fine. I modified one other page, basically commenting out a <DIV> tag, published the site. Now it prompts me for a username and password for every page. If I keep hitting the cancel button, the page will eventually display, sometimes only partially (some graphics might be missing, the header and/or sidebar image are missing on some pages), but the page displays with at least most of the info.

I didn't touch the directory/file or IIS configuration, didn't edit the web.config file, etc. I tried un-commenting the DIV tag, but nothing changes. It works fine on the http://localhost web server on my development machine through VS.

What permissions should the default anonymous website visitor have in the website directory/sub-dirs/files?

What can I do to fix this, it's on our live site. Thanks.

After thinking about it and the way the graphics weren't all showing, I dug some more and discovered that when I clicked on my /Images directory, I got an 'access is denied' dialog on the server. I rebooted the web server and then the /Images directory didn't show up at all, so I re-published the website from VS and it works now. Freaky...

Thursday, March 22, 2012

Support for Com Controls in Shared Hosting Services

Hi,
For my ASP.NET 2.0 website, I found what looks like a really great freeware
text editor (XStandard: http://xstandard.com/default.asp) but it is a COM
component. I've never set up a website and I'm not sure I want to invest a
couple of days on this control and find out it is not supported. I talked to
someone at webhost4life and he said 'it shouldn't be a problem' and I don't
like the 'shouldn't' word. I'm just wondering: should I be worried about
this or do all the web hosting companies support third-party COM controls
like this as a matter of course?
The XStandard control is a text editor. One of the things I like about it is
that it does not give the user a whole slough of buttons so he can choose
any font, any color of the rainbow or format his text in thousands of ways.
It lets you define the formatting options and presents them in a combo box.
Pretty clever.
Thanks.
Steveas the active/x control is installed on the client machine, not the
server you should be ok.
-- bruce (sqlwork.com)
Uriah Piddle wrote:
> Hi,
> For my ASP.NET 2.0 website, I found what looks like a really great freewar
e
> text editor (XStandard: http://xstandard.com/default.asp) but it is a COM
> component. I've never set up a website and I'm not sure I want to invest a
> couple of days on this control and find out it is not supported. I talked
to
> someone at webhost4life and he said 'it shouldn't be a problem' and I don'
t
> like the 'shouldn't' word. I'm just wondering: should I be worried about
> this or do all the web hosting companies support third-party COM controls
> like this as a matter of course?
> The XStandard control is a text editor. One of the things I like about it
is
> that it does not give the user a whole slough of buttons so he can choose
> any font, any color of the rainbow or format his text in thousands of ways
.
> It lets you define the formatting options and presents them in a combo box
.
> Pretty clever.
> Thanks.
> Steve
>

Support for Com Controls in Shared Hosting Services

Hi,

For my ASP.NET 2.0 website, I found what looks like a really great freeware
text editor (XStandard: http://xstandard.com/default.asp) but it is a COM
component. I've never set up a website and I'm not sure I want to invest a
couple of days on this control and find out it is not supported. I talked to
someone at webhost4life and he said 'it shouldn't be a problem' and I don't
like the 'shouldn't' word. I'm just wondering: should I be worried about
this or do all the web hosting companies support third-party COM controls
like this as a matter of course?

The XStandard control is a text editor. One of the things I like about it is
that it does not give the user a whole slough of buttons so he can choose
any font, any color of the rainbow or format his text in thousands of ways.
It lets you define the formatting options and presents them in a combo box.
Pretty clever.

Thanks.

Steveas the active/x control is installed on the client machine, not the
server you should be ok.

-- bruce (sqlwork.com)

Uriah Piddle wrote:

Quote:

Originally Posted by

Hi,
>
For my ASP.NET 2.0 website, I found what looks like a really great freeware
text editor (XStandard: http://xstandard.com/default.asp) but it is a COM
component. I've never set up a website and I'm not sure I want to invest a
couple of days on this control and find out it is not supported. I talked to
someone at webhost4life and he said 'it shouldn't be a problem' and I don't
like the 'shouldn't' word. I'm just wondering: should I be worried about
this or do all the web hosting companies support third-party COM controls
like this as a matter of course?
>
The XStandard control is a text editor. One of the things I like about it is
that it does not give the user a whole slough of buttons so he can choose
any font, any color of the rainbow or format his text in thousands of ways.
It lets you define the formatting options and presents them in a combo box.
Pretty clever.
>
Thanks.
>
Steve
>
>

Tuesday, March 13, 2012

Survey Module?

Helen,

There is a Survey Module in DotNetNuke: -

http://www.dotnetnuke.com/Default.aspx?tabid=467

Hth,
Phil winstanley
Microsoft ASP.NET MVP
http://www.myservicescentral.comThanks Paul, perfect.

I'm a winforms developer, new to asp.net. This dotnetnuke looks like a
goldmine. Are there any other must-see resources I should know about? The
Rainbow portal looks very useful too. And IBuySpy of course.

Is DotNetNuke the resource of choice for ASP.Net developers?

h

"Phil Winstanley [Microsoft MVP ASP.NET]" <phil@.winstanley.name> wrote in
message news:cb4nir$kjr@.odbk17.prod.google.com...
> Helen,
> There is a Survey Module in DotNetNuke: -
> http://www.dotnetnuke.com/Default.aspx?tabid=467
> Hth,
> Phil winstanley
> Microsoft ASP.NET MVP
> http://www.myservicescentral.com
there are several starter kits at www.asp.net

"Helen B" <helen@.nospam.com> wrote in message
news:exdSwW3VEHA.2928@.tk2msftngp13.phx.gbl...
> Thanks Paul, perfect.
> I'm a winforms developer, new to asp.net. This dotnetnuke looks like a
> goldmine. Are there any other must-see resources I should know about? The
> Rainbow portal looks very useful too. And IBuySpy of course.
> Is DotNetNuke the resource of choice for ASP.Net developers?
> h
>
> "Phil Winstanley [Microsoft MVP ASP.NET]" <phil@.winstanley.name> wrote in
> message news:cb4nir$kjr@.odbk17.prod.google.com...
> > Helen,
> > There is a Survey Module in DotNetNuke: -
> > http://www.dotnetnuke.com/Default.aspx?tabid=467
> > Hth,
> > Phil winstanley
> > Microsoft ASP.NET MVP
> > http://www.myservicescentral.com

Swiching between .NET version

How do I go around swiching from say .NET 2.0 back to .NET 1.1 and vice versa. By default .NET 2.0 is running, however I only want to use that at times, not always. Can I switch it without uninstalling it ? Thanks.In the framework directory for each of the versions, you'll findaspnet_regiis.exe. If you run this program with the -i switch,it'll install that version of the framework with IIS. If you usethe /? switch you can see all of the options, including what you can doto install v1.1 for some of your ASP.Net applications, while using v2.0for others.

Hello,

there′s a "ready-to-use" application out there which I can recommend to switch between different .Net versions.

From the Official Site:http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx

"The ASP.NET Version Switcher is a little utility that can be used to quickly switch the .NET Framework version that the ASPX pages are compiled against. This is helpful for developers who often have to test their web applications for compatibility with different version of the .NET Framework"
Internally, it uses the command line tool called ASPNET_REGIIS that is included in the Microsoft.NET Framework.
Additional features:
toggle if only selected vroot should be version switched or child vroots recursively (-s or -sn command line parameter)double click on node opens explorer in respective directoryquick link to IIS Manager

switch statement less than ? more than ?

switch (Drivers) {case < 2:break;case >5:break;default: Console.WriteLine("Default case"); }
Can I use less than or more than in switch statement

like this

You cannot do this in C#, it's by design:http://msdn2.microsoft.com/en-us/vcsharp/aa336815.aspx

VB.NET can handle this though.


unfortunately no. you can do something like

case 1:

case 2:

do something;

break;

but < and > don't work