| Problem with database (Login failed for user 'X') |
|
 |
Index ‹ Web Programming ‹ ASP.Net
|
- Previous
- 1
- 2
- ASP.Net >> Databinding event of Dropdownlist does not fireI have a dropdownlist whose items are bind to it during runtime. I do
it in the databinding event, but the event handler was never get
called. Finally I have to do the databinding in the prerender event.
Has anyone had a similar problem?
Thanks,
- 3
- 4
- ASP.Net >> problem with web service call from Ajax in Web ApplicationI have just completed (almost) an exercise to convert a web site to a web
app (acedemic reasons - just to see the differences).
A few bumps on the road such as copying class files to the new solution and
wondering for a while why the classes did not show up. It was because the
properties for the class file were "content" rather than "compile". Also
copied all my images to a newly created image folder outside the IDE. There
is no context menu item to refresh a folder in the Web App so it was out of
the car and back in to fix that.
One problem remains. I have Javascript code to log some information. In
the Web site code it works great. You have to add the
<System.Web.Script.Services.ScriptService()> _ (using VB) attribute to the
class file for the web service and it then works. I copied the same code to
the Web App and when I do the Javascript call it fails saying it cannot find
the Web Service.
Any ideas??
I have not posted code until someone lets me know what parts of the code are
needed for helping.
http://www.asp.net/learn/ajax-videos/video-82.aspx
This is where I got original code to convert web service to be used from
AJAX.
Lloyd Sheen
- 5
- 6
- ASP.Net >> System.Web.HttpCompileExceptionHow Can I debug Compile exception in ASP.NET ?
System.Web.HttpCompileException: External component has thrown an exception.
at System.Web.Compilation.BaseCompiler.ThrowIfCompilerErrors(CompilerResults
results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String
sourceFile, String sourceString) at
System.Web.Compilation.BaseCompiler.GetCompiledType() at
System.Web.UI.UserControlParser.CompileIntoType() at
System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()
thks.
- 7
- ASP.Net >> GridView/FormView (master/details) questionsHi,
I have a hard time finding an example with GridView and FormView on the same
page. So I'm hoping that someone will be able to help me with the following:
1) How do I refresh GridView after Insert, Update, and Delete in a linked
FormView?
That is, I'd like the GridView to show updates made to a row, show a newly
added row, and remove a deleted row.
2) How do I force the FormView to display in InsertMode if no items are
present in the associated GridView?
I know that I need to call ChangeMode() on the FormView but I'm not sure
where. I tried Selected event of the associated ObjectDataSource with "if
(e.RowsAffected < 1) FormView.ChangeMode(FormViewMode.Insert)" but this
does not seem to work. The ObjectDataSourceStatusEventArgs.RowsAffected is
always -1 regardless of how many rows are displayed in the GridView. So I
must be checking it in the wrong place.
Any help will be greatly appreciated.
Thanks,
- 8
- ASP.Net >> 2.0 Create User Wizard!Hi all,
I am trying to customize the create user wizard.
I have tried removing the Secret Question & Answer
form controls, but am getting an error when i run the page.
CreateUserWizardStep.ContentTemplate does not contain an
IEditableTextControl with ID Question for the security question, this is
required if your membership provider requires a question and answer
I have tried finding a property to turn these off, but haven't found one
yet.
Can anyone help?
Cheers,
Adam
- 9
- ASP.Net >> VWD and SSLI don't know if this is the correct forum.
I am using Visual Web Developer to build a site that uses SSL to secure
authentication (Forms against Active Directory) and the data that is
passed back and forth. I am having problems getting VWD to play nicely
with SSL.
I have seen the protection="All" requireSSL="true" tags but they did
not do much for me.
Any ideas on:
How do I get the web server bundled with VWD to use SSL?
How do I have the default page open with https://, instead of http?
Thank you,
Ben
- 10
- ASP.Net >> Not Initialized...I have the following error using vs.net 2003 C#:
The ConnectionString property has not been initialized.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The ConnectionString
property has not been initialized.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: The ConnectionString property has not been
initialized.]
System.Data.SqlClient.SqlConnection.Open()
SDM.WebForm1.Button1_Click(Object sender, EventArgs e)
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
________________________________________________
My code is:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Text;
namespace SDM
{
/// <summary>
/// Summary description for WebForm1.
/// </summary>
public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Label Label1;
protected System.Web.UI.WebControls.Button Button1;
private void Page_Load(object sender, System.EventArgs e)
{
// Put user code to initialize the page here
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.Button1.Click += new System.EventHandler(this.Button1_Click);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
private void Button1_Click(object sender, System.EventArgs e)
{
try
{
SqlConnection oSQLConn = new SqlConnection();
oSQLConn.Open();
System.Data.SqlClient.SqlCommand sqlInsert1 = new SqlCommand(@" USE SDM
Bulk INSERT dbo.tbl_client FROM 'D:\client.txt' WITH ( FIELDTERMINATOR = ','
,ROWTERMINATOR = '\n') ");
System.Data.SqlClient.SqlCommand sqlInsert2 = new SqlCommand(@" USE SDM
Bulk INSERT dbo.tbl_master FROM 'D:\master.txt' WITH ( FIELDTERMINATOR = ','
,ROWTERMINATOR = '\n') ");
System.Data.SqlClient.SqlCommand sqlDelete = new SqlCommand("DELETE FROM
tbl_Client FROM tbl_master" + "WHERE tbl_master.Phone = tbl_Client.Phone");
if (sqlDelete.ExecuteNonQuery() > 0)
{
Label1.Text = "Record has been sucessfully deleted!";
}
else
{
Label1.Text = "Sorry, could not access database";
}
}
finally
{
SqlConnection oSQLConn = new SqlConnection();
oSQLConn.Close();
}
}
}
}
-------------------------------------------------------------
Could someone help me before I shoot myself..:-{
- 11
- 12
- IIS >> Microsoft FTP Server problem on W2K?We have a mainframe at work that FTPs file to a Microsoft W2K FTP server
using SP4. Since the mainframe appears to be bogged down at times and
doesn't seem to respond to FTP requests on its server nor respond quickly
enough when it sends files out, I made a request to have all outgoing FTP
files coming from mainfame to use PASSIVE instead of ACTIVE. This way,
Microsoft FTP server can create both teh control and data ports for the
connection; rather than requiring the mainframe to create the data port.
As a result, things hit the fan.
After myself and another technical engineer reviewed the network analysis,
it was determined that since the mainframe was multi-home and performing
load balancing across two network cards, the following was happening:
1) Mainframe would FTP from 10.246.1.12 to FTP server to port 21 (control
connection).
2) Mainframe would sign in to FTP server and then issue the PASV command
3) Mainframe would then try to connect from 10.246.1.11 to FTP server on
port 20 (data connection).
4) Microsoft FTP server reports error #426 and drops the connection.
5) Mainframe also drops connection after successive "I/O" errors trying to
send the STORE command.
The below excerpts are what the mainframe vendor is telling us:
Email #1 from us to vendor:
The windows FTP server does not like the mainframe sending packets from
multiple IP addresses. When we restricted the packets to come from only one
IP address, passive mode worked.
So the question is, should packets be allowed to come from multiple IP
addresses when using Passive Mode. Bug or feature. A good question for
engineering. Can you follow up on this??
Email #2 from vendor to us:
The following is from engineering:
1. Any given FTP connection - in fact, any TCP/IP connection - will involve
packets being sent from a single IP address and to a single IP address. The
TCP/IP connection is identified by source and destination port numbers and
source and destination IP addresses.
2. The FTP standard (RFC 1123 section 4.1.2.12) states that, on a
multi-homed server, the data connection MUST use the same IP address as the
control connection. It is not, however, required that the client-side data
connection use the same IP address as the client-side control connection. In
fact, it's not even necessary, according to RFC 959, that the client ends of
the two connections be in the same machine. See RFC 959 section 2.3.
3. The mainframe FTP behaves in this way:
In PORT mode, where the data connection establishment is FROM server TO
client, our client establishes the data connection from the same IP address
as the data connection.
In PASV mode, where the data connection establishment is FROM client TO
server, our client allows TCP/IP to assign the IP address of the data
connection. It is possible that this could be different from the IP address
of the control connection.
I would still like to see FTP diagnostics. If the customer's analysis is
correct, TCP/IP tracing isn't required at this stage.
Email #3 from vendor to us:
The following is the result of the analysis of the information you provided:
We analyzed the trace that was provided and it shows, we initiated the
control connection from 10.246.1.12, and the data connection from
10.246.1.11. The data connection opened successfully, which suggests that
the remote FTP server was, at least at a TCP level, prepared to accept the
connection initiation from the second IP address. The server returned a 426
error response when we sent the STOR command over the control connection,
and immediately closed the data connection.
As I said previously, I believe that the behavior of our client is in
accordance with the FTP protocol standard.
We still believe the problem is on the remote FTP server side.
---
Can someone please tell me what the correct answer is. I would imagine that
the FTP server cannot accept passive connections from two different IP
addresses. Otherwise, FTP transmissions would be failing for no apparent
reasons due to port scans, hackers, etc.
Any comments, feedback, etc. appreciated.
Perhaps THIS IS A Microsoft bug???
--
...david
http://www.micro-mess.com
http://www.va-mustang.com
If you wish to reply to me personally, please remove
the "underline" from scandal_123@cox.net. The is done to avoid SPAM!
- 13
- Frontpage Client >> Upgrading from FP98 to FP 2002I have designed my website using FP98. Recently, my host server switched over
to a unix server using FP 2002 extensions. Since then one out of every 50
attempts to publish changes to my site gets through. Someone told me that I
have to switch over to FP 2002. If I do that, will I have problems bringing
in my current web/files/folders designed in FP98. Or will FP 2002 convert
every over for me.
Will there be a problem, after converting over to FP 2002, the next time I
go to publish changes to my server?
Will I have to redo my entire site again using FP 2002?
Help
- 14
- Frontpage Client >> Can't open Big htm page in large directoryAll of a sudden I can't open my main page which has a large amount of other
htm pages. When I moved my main page to a directory of just a few other htm
pages it opened. It appears like FrontPage is scanning all my other pages
when I try and open my main page. It says processing file and just hangs!Can
I stop it scanning these other pages? Plus when I want to add a new htm page
link it takes forever to allow me to add a link because it list all the
other pages I have! How do I stop this because it is slowing things down to
a crawl and I can hardly get any work done. I do not use FrontPage to
publish on my Site. So all the scanning it does is nothing but waste of time
which slow things down. Reinstalled FrontPage three times and still have the
problem. Also removed all *.web What in the world is going on? :(
- 15
- Frontpage Programming >> getting message: website inaccessible for direct server logonUntil recently, in FP2002, I could log on directly to the
webhost by doing File/OpenWeb and typing
http://www.mypersonalwebsite.com. In fact, it's still in
my "recent web" files and if I choose it from there, I get
the password box and can log directly onto my site.
As I was recently asked to take over another group's site,
I went to bring it down by doing File/OpenWeb and typing
http://www.thegroupswebsite.org . when I did, I got this
error:
"The folder 'http://www.thegroupswebsite.org/' isn't
accessible. The folder may be located in an unavailable
location, protected with a password, or the filename
contains a '/' or a '\'."
I thought this was very odd so I tried to access my own
site directly on the host server and got the same error
message, but with my site name in the message. The
extra "/" at the end is not in what I'm typing.
Then I tried again to access the site from my "Recent
Webs" folder. I saw "www.mypersonalwebsite.com" in the
list, selected it, and got the password box again for a
simple logon.
I just tried reinstalling FP2002, but no improvement. Any
ideas? I'm very stuck!
|
| Author |
Message |
ekonomix

|
Posted: Sat Jul 22 16:25:36 CDT 2006 |
Top |
ASP.Net >> Problem with database (Login failed for user 'X')
Hi; when I use sql server connection or ole connection for working with
database I receive the login failed for user 'any user that I work'.I've been
granted ASPNET user in sql.
Web Programming58
|
| |
|
| |
 |
Jacek

|
Posted: Sat Jul 22 16:25:36 CDT 2006 |
Top |
ASP.Net >> Problem with database (Login failed for user 'X')
U¿ytkownik "Ramtin" <EMail@HideDomain.com> napisa³ w wiadomo¶ci
news:EMail@HideDomain.com...
> Hi; when I use sql server connection or ole connection for working with
> database I receive the login failed for user 'any user that I work'.I've
> been
> granted ASPNET user in sql.
Give us more data. Some line with error description, line with code etc.
There are many possible reasons.
--
JS
BRE Bank Dev Team, Poland
|
| |
|
| |
 |
Ramtin

|
Posted: Sun Jul 23 05:30:01 CDT 2006 |
Top |
ASP.Net >> Problem with database (Login failed for user 'X')
Hi;
Thanks for your attention.I have not any problem with windows
application.the exact message that I recieve in web application is this:
(some description is below)
Server Error in '/Temp' Application.
--------------------------------------------------------------------------------
Login failed for user 'sa'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Login failed for user
'sa'.
Source Error:
Line 30: if(!IsPostBack)
Line 31: {
Line 32: sqlConnection1.Open();
Line 33: sqlDataAdapter1.Fill(dataSet11);
Line 34: DataGrid1.DataBind();
Source File: c:\inetpub\wwwroot\temp\webform1.aspx.cs Line: 32
Stack Trace:
[SqlException: Login failed for user 'sa'.]
System.Data.SqlClient.ConnectionPool.CreateConnection()
System.Data.SqlClient.ConnectionPool.UserCreateRequest()
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)
System.Data.SqlClient.SqlConnection.Open()
Temp.WebForm1.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\temp\webform1.aspx.cs:32
System.Web.UI.Control.OnLoad(EventArgs e)
System.Web.UI.Control.LoadRecursive()
System.Web.UI.Page.ProcessRequestMain()
This occurs when I use local sql server.when I use other sql server on the
network I give "server is not exist" message.I follow this steps:
1) I create a sqlconnection 2)I set a sql statement in a data adapter
3)generate a data set 3)in page load event I add above codes.
"Jacek Stawicki" wrote:
>
> U¿ytkownik "Ramtin" <EMail@HideDomain.com> napisa³ w wiadomo¶ci
> news:EMail@HideDomain.com...
> > Hi; when I use sql server connection or ole connection for working with
> > database I receive the login failed for user 'any user that I work'.I've
> > been
> > granted ASPNET user in sql.
>
> Give us more data. Some line with error description, line with code etc.
> There are many possible reasons.
>
>
> --
> JS
> BRE Bank Dev Team, Poland
>
>
>
|
| |
|
| |
 |
cannontrodder

|
Posted: Sun Jul 23 05:47:43 CDT 2006 |
Top |
ASP.Net >> Problem with database (Login failed for user 'X')
You are trying to connect using SA as the user. Try to connect using
sql management studio or query analyser using sql authentication.
Note: it's not a good idea AT ALL to connect using the sa account.
ASP.NET applications run under a particular username (in my case
ASPNET). It's best to use windows authentication and grant access to
the unprivileged account that asp.net applications run under.
Ramtin wrote:
> Hi;
> Thanks for your attention.I have not any problem with windows
> application.the exact message that I recieve in web application is this:
> (some description is below)
> Server Error in '/Temp' Application.
> -------------------------------------------------------------------------=
-------
>
> Login failed for user 'sa'.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information a=
bout
> the error and where it originated in the code.
>
> Exception Details: System.Data.SqlClient.SqlException: Login failed for u=
ser
> 'sa'.
>
> Source Error:
>
>
> Line 30: if(!IsPostBack)
> Line 31: {
> Line 32: sqlConnection1.Open();
> Line 33: sqlDataAdapter1.Fill(dataSet11);
> Line 34: DataGrid1.DataBind();
>
>
> Source File: c:\inetpub\wwwroot\temp\webform1.aspx.cs Line: 32
>
> Stack Trace:
>
>
> [SqlException: Login failed for user 'sa'.]
> System.Data.SqlClient.ConnectionPool.CreateConnection()
> System.Data.SqlClient.ConnectionPool.UserCreateRequest()
> System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> isInTransaction)
>
> System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlCon=
nectionString options, Boolean& isInTransaction)
> System.Data.SqlClient.SqlConnection.Open()
> Temp.WebForm1.Page_Load(Object sender, EventArgs e) in
> c:\inetpub\wwwroot\temp\webform1.aspx.cs:32
> System.Web.UI.Control.OnLoad(EventArgs e)
> System.Web.UI.Control.LoadRecursive()
> System.Web.UI.Page.ProcessRequestMain()
>
> This occurs when I use local sql server.when I use other sql server on the
> network I give "server is not exist" message.I follow this steps:
> 1) I create a sqlconnection 2)I set a sql statement in a data adapter
> 3)generate a data set 3)in page load event I add above codes.
>
>
> "Jacek Stawicki" wrote:
>
> >
> > U=BFytkownik "Ramtin" <EMail@HideDomain.com> napisa=B3 w wi=
adomo=B6ci
> > news:EMail@HideDomain.com...
> > > Hi; when I use sql server connection or ole connection for working wi=
th
> > > database I receive the login failed for user 'any user that I work'.I=
've
> > > been
> > > granted ASPNET user in sql.
> >
> > Give us more data. Some line with error description, line with code etc.
> > There are many possible reasons.
> >=20
> >=20
> > --=20
> > JS
> > BRE Bank Dev Team, Poland=20
> >=20
> >=20
> >
|
| |
|
| |
 |
Ramtin

|
Posted: Sun Jul 23 05:55:01 CDT 2006 |
Top |
ASP.Net >> Problem with database (Login failed for user 'X')
Hi; The sa user is for example I'd been using so many different users.But
finally I use the other post and solve my problem.I must add UID and PWD in
connection string
Thanks for your attention
"cannontrodder" wrote:
> You are trying to connect using SA as the user. Try to connect using
> sql management studio or query analyser using sql authentication.
>
> Note: it's not a good idea AT ALL to connect using the sa account.
> ASP.NET applications run under a particular username (in my case
> ASPNET). It's best to use windows authentication and grant access to
> the unprivileged account that asp.net applications run under.
>
>
> Ramtin wrote:
> > Hi;
> > Thanks for your attention.I have not any problem with windows
> > application.the exact message that I recieve in web application is this:
> > (some description is below)
> > Server Error in '/Temp' Application.
> > --------------------------------------------------------------------------------
> >
> > Login failed for user 'sa'.
> > Description: An unhandled exception occurred during the execution of the
> > current web request. Please review the stack trace for more information about
> > the error and where it originated in the code.
> >
> > Exception Details: System.Data.SqlClient.SqlException: Login failed for user
> > 'sa'.
> >
> > Source Error:
> >
> >
> > Line 30: if(!IsPostBack)
> > Line 31: {
> > Line 32: sqlConnection1.Open();
> > Line 33: sqlDataAdapter1.Fill(dataSet11);
> > Line 34: DataGrid1.DataBind();
> >
> >
> > Source File: c:\inetpub\wwwroot\temp\webform1.aspx.cs Line: 32
> >
> > Stack Trace:
> >
> >
> > [SqlException: Login failed for user 'sa'.]
> > System.Data.SqlClient.ConnectionPool.CreateConnection()
> > System.Data.SqlClient.ConnectionPool.UserCreateRequest()
> > System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
> > isInTransaction)
> >
> > System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)
> > System.Data.SqlClient.SqlConnection.Open()
> > Temp.WebForm1.Page_Load(Object sender, EventArgs e) in
> > c:\inetpub\wwwroot\temp\webform1.aspx.cs:32
> > System.Web.UI.Control.OnLoad(EventArgs e)
> > System.Web.UI.Control.LoadRecursive()
> > System.Web.UI.Page.ProcessRequestMain()
> >
> > This occurs when I use local sql server.when I use other sql server on the
> > network I give "server is not exist" message.I follow this steps:
> > 1) I create a sqlconnection 2)I set a sql statement in a data adapter
> > 3)generate a data set 3)in page load event I add above codes.
> >
> >
> > "Jacek Stawicki" wrote:
> >
> > >
> > > U¿ytkownik "Ramtin" <EMail@HideDomain.com> napisa³ w wiadomo¶ci
> > > news:EMail@HideDomain.com...
> > > > Hi; when I use sql server connection or ole connection for working with
> > > > database I receive the login failed for user 'any user that I work'.I've
> > > > been
> > > > granted ASPNET user in sql.
> > >
> > > Give us more data. Some line with error description, line with code etc.
> > > There are many possible reasons.
> > >
> > >
> > > --
> > > JS
> > > BRE Bank Dev Team, Poland
> > >
> > >
> > >
>
>
|
| |
|
| |
 |
Jacek

|
Posted: Sun Jul 23 05:59:52 CDT 2006 |
Top |
ASP.Net >> Problem with database (Login failed for user 'X')
U¿ytkownik "Ramtin" <EMail@HideDomain.com> napisa³ w wiadomo¶ci
news:EMail@HideDomain.com...
> Hi; The sa user is for example I'd been using so many different users.But
> finally I use the other post and solve my problem.I must add UID and PWD
> in
> connection string
What is the connection string?
--
JS
BRE Bank Dev Team, Poland
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ ASP.Net |
- Next
- 1
- IIS >> Sorry... ASP.NET questionHi!
I didn't find a better-matching-group:
I have written my own sitemapprovider in asp.net but now I need to select
the nodes depending on the logon information of the user. So: what is the
supposed way to select (and show) only those nodes via the sitemapprovider to
which the user has access?
Or am i completely wrong?
- 2
- IIS >> I've found the solution!I have been the trouble with WebDav and Vista. I think this is a bug of WebDav function on Windows Vista, but I've found the solution at least.
Usually, Web root access (WWW) is allowed for anonymous users, so authentication level is checked on anonymous (IUSR_CompueterName). And WebDav folder is allowed for authenticated users, so authentication level is checked on anything but anonymous.
Through my test, Windows Auth was most stable. So I recommend Windows Auth for WebDav folder. And you must set the same authentication level as WebDav folder for the Web root (WWW). This point is important, but sometimes unusual. May be you have to reorganize your web site, though.
Thank you.
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
- 3
- Frontpage Client >> Why do my settings in 'Shared Borders' return to automatic?In the background of my site i have a picture, but i have set my 'borders' so
they are just plain grey, however whenever i exit Frontpage or look at my
site in a 'preview' they revert back to just showing the picture background
and the shared border settings show they have reverted back to automatic?
this is really annoying, i have clicked to shared boarder box in the
Auditing pane, can anyone help? i am a bit of a novice at frontpage!
thanks Lauren
- 4
- ASP.Net >> datagrid control & tableI am using a datagrid control with showheader = false. I use a div
and a table for a stationary header. When trying to get the columns
to match between the header and the datagrid I notice I have to
contstantly go back and forth between the two, tweaking the size to
make them match. This is really a pain. It would be nice if I could
set the width of the table cells and the itemstyle width property to
the same value and actually have it happen. My
cellpadding/cellspacing are set to them same value for both. Any
suggestions?
- 5
- Frontpage Client >> SSL Secure Lock for PaymentsI have a store hosted by Yahoo. On my pages where customers enter their credit cards I see no little lock in the lower corner assuring customers they are on a secure site. I emailed Yahoo customer care and got this "detailed" reply on how to correct the situation
--------------
Thank you for writing to Yahoo! Store Support
Currently, these pages are secure, however, your frames that you are
using on the site are blocking the lock from showing up
Thank you again for contacting Yahoo! Customer Care
---------------
Could anyone PLEASE help me to figure out what I can do to get this secure lock to show up? Can I not use frames at all on my pages? I humbly admit I'm so new to this and every day is a new learning experience. Any help you can give would be very appreciated.
Thank you
Miss
- 6
- IIS >> How to connect to a remote IIS server trough vbscriptHi
I would like to know if its possible to connect to a remote IIS server
trough scripting
Here is what I tried but I got the following error MSG
iis.vbs(3, 1) (null): Invalid syntax
Here is the Code
strComputer = "s000wbt0021"
Set objIIS = GetObject("IIS://" & strComputer & "/W3SVC")
For Each objItem in objIIS
If objItem.class = "IIsWebServer" Then
Wscript.Echo objItem.Name
End If
Next
Thanks
Al Capone
- 7
- ASP.Net >> Page layout in VS 2005?I'm just getting started with ASP.NET in Visual Studio 2005. The last web
work I did involved ASP 3.0 in FrontPage.
I've been through the MSDN tutorials on creating web pages, but not of them
seem to cover real-world page layout. In the ASP era, I used tables to
provide a structure for a page, then coded HTML controls within the grid.
So, my first question is: Are pages laid out the same way in ASP.NET--start
with a table and add controls?
I tried using the ASP.NET Table control like a TableLayoutPanel in Windows
Forms, but the table doesn't accept control drops. That leads me to believe
VS 2005 must have a better way of structuring a page.
BTW, I'm familiar with Master Pages, and I plan to use them as soon as I get
proficient at laying out basic web pages in VS 2005.
That brings me to my second question: Are there any good tutorials out there
on web page layout procedures using VS 2005? I've done a Google search, but
I don't see anything that looks like it walks through real world examples.
I'm not concerned about design at this point; I just want to get a page laid
out.
Thanks in advance.
--
David Veeneman
Foresight Systems
- 8
- IIS >> Application Codebehind="Global.asax.cs" Inherits="ASPNET.StarterKiScenario:
Win2003 webServer
Win2003 SQL DBserver
Both same domain
.NETframework 1.1
IIS virtual directory "/HAS" on webServer points to physical code (including
"bin" directory) on DBserver network share (i.e. \\hasdevdb1\has)
When browse to http://localhost/has on webServer I get the
error:
Parser Error Message: Could not load type 'ASPNET.StarterKit.Portal.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="ASPNET.StarterKit.Portal.Global" %>
Source File: \\dev121\PortalCSVS\global.asax Line: 1
Additinoal info:
- no errors if the exact same code is local to webServer (i.e. directory on
this computer instead of network share).
- get same type error with even the simplest project "<%@ Application
Codebehind="Global.asax.cs" Inherits="webForm1.global" %>
- the following does NOT work...
- compile it as a Release build using Rebuild instead of just Build.
- Check rights for your /bin folder (I gave wide open rights and still
didn't work)
- adding a reference to the dll within the project
- adding a "using ASPNET.StarterKit.Portal" to the global.aspx.cs
- regsvr32 ASPNETPortal.dll
- Deleting the <%Application Codebehind="Global.asax.cs"
Inherits="ASPNET.StarterKit.Portal.Global%> from the global.asax
- deleting the global.asax file
Please help.
- 9
- ASP.Net >> CheckBox and DatagridHi,
I need some help with automatically generated checkbox in my datagrid,
i'm searching everywhere and can't find a way to do this.
In my datagrid i will always have more than one line, with one checkbox
on each line (each line is an option for our costumers).
But i want to :
- have autopostback set to true only on the first (or any other,
selected before the databind) checkbox
- when the form is sudmited, check wich checkbox is checked, so i can
view what the customers have selected, but they have all the same ID,
because if i try to assign a different ID to each one, like this :
<asp:CheckBox Runat=server ID=<%# container.dataitem("serviceno")%>
AutoPostBack=True/> i receive this error : '<%#
container.dataitem("serviceno")%>' is not a valid identifier.
Did someone have any idea for this ?
Thank you.
- 10
- ASP.Net >> The current configuration system does not support user-scoped settingsI have a problem in which I'm trying to access a method in a .DLL from
an ASP.Net web page (written in C#). I keep on getting the error "The
current configuration system does not support user-scoped settings".
I've done some research into this problem and I've found out that the
solution has something to do with the ConfigurationManager.AppSettings
for settings, or Profiles for per-user configutation in ASP.Net 2.0.
However, I don't know where to find the ConfigurationManager! I've
looked in Website/ASP.Net configuration and Tools/Options +
Environment and I can't find it!
I can't seem to find a handle on what to do about this! Can somebody
help me!
Thanks so very much!
Steve
- 11
- IIS >> Real time logging to SQLIs there a product out there for doing real time IIS logs to SQL?
I know that you can do it in an event using the Microsoft Log Analyzer,
but I'm looking for something that will do it in real time.
Thanks!
--Dave
- 12
- ASP.Net >> GridviewHi all,
Quick question for you.
I need to include a parameter into this asp:HyperLinkField of SchoolID. I
tried adding Request.QueryString("SchoolID") but it didnt work.
<asp:HyperLinkField DataNavigateUrlFields="ActionID"
DataNavigateUrlFormatString="AddSchool5.aspx?ActionID={0}"
DataTextField="Action" />
Anyone know the answer?
Cheers
Just realised I sent it too wrong group
- 13
- ASP/Active Server Pages >> HTTP/1.1 New Session FailedHi, getting the
HTTP/1.1 New Session Failed
message when trying to access an ASP page. It seems intermittent, at some
point one machine will keep getting this message while another will access
it just fine. The next day it will be the other way around. This page and
application, just have regular ASP pages, not doing anything too
spectacular.
Any ideas?
- 14
- ASP.Net >> 403 Access Denied when attempting to create or OPEN an ASP.NET web projectThis is the error that Visual Studio 2003 gives me when trying to open some
of my Web Projects:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'http://Localhost:/MyWebApplication'. 'HTTP/1.0 403 Access Denied'."
Some web projects give a '500 Internal Server Error' when trying to open
them.
I'm having the problem with all .NET solutions on my system. They worked
fine up until noon today and I don't know what changed to make this happen.
I've searched around and found posts with different suggestions, but none of
them worked. I've run aspnet_regiis -i, that didn't help either.
Any more suggestions? I'm running WinXP Pro, IIS 5, IE 6, and I have both
VS.NET 2003 and VS.NET 2002 on my machine and the problem occurs in both. I
can't open any web projects.
It also occurs with Visual Studio 2002 except the error text is a little
different although it says the same thing:
"Unable to open Web Project 'MyApplication2002'. The file path
'C:\Inetput\WWWRoot\MyApplication2002' does not correspond to the URL
'http://Localhost:/MyApplication2002'. The two need to map to the same
server location. HTTP Error 403: Access Denied"
Thanks for any help,
--
Melissa Whalen, Programmer/Analyst
AIT, BBA/IS
- 15
- ASP.Net >> Gucci 3905 Series Ladies watch 23935 ReplicaGucci 3905 Series Ladies watch 23935 Replica, Fake, Cheap, AAA Replica
watch
Gucci 3905 Series Ladies watch 23935 Link : http://www.aaa-replica-watch.com/Gucci_23935.html
Buy the cheapest Gucci 3905 Series Ladies watch 23935 in toppest
Replica . www.aaa-replica-watch.com helps you to save money!
Gucci-23935 , Gucci 3905 Series Ladies watch 23935 , Replia , Cheap ,
Fake , imitation , Gucci Watches
Gucci 3905 Series Ladies watch 23935 Information :
Brand : Gucci Watches (http://www.aaa-replica-watch.com/
Replica_Gucci.html )
Gender :
Model : Gucci-23935
Case Material :
Case Diameter :
Dial Color :
Bezel :
Movement :
Clasp :
Water Resistant :
Crystal :
Our Price : $ 248.00
Availability: In StockGucci 3905 Series Ladies watch 23935Polished
Yellow gold plated case and Bracelet. ETA Swiss quartz. Standard
buckle. Sapphire crystal. Water resistant to (100 feet / 30 meters).
Black Dial. Gucci 3905 Series Ladies watch 23935Gucci 3905 Series
Ladies watch 23935 is brand new, join thousands of satisfied customers
and buy your Gucci 3905 Series Ladies watch 23935 with total
satisfaction . A Haob2b.com 30 Day Money Back Guarantee is included
with every Gucci 3905 Series Ladies watch 23935 for secure, risk-free
online shopping. Haob2b.com does not charge sales tax for the Gucci
3905 Series Ladies watch 23935, unless shipped within New York State.
Haob2b.com is rated 5 stars on the Yahoo! network.
Gucci 3905 Series Ladies watch 23935 Replica, With the mix of finest
craftsmanship and contemporary styling, not only does it reflect the
time but also care you put into looking good. choose one to promote
your quality and make yourself impressive among people
Thank you for choosing www.aaa-replica-watch.com as your reliable
dealer of quality waches including Gucci 3905 Series Ladies watch
23935 . we guarantee every watch you receive will be exact watch you
ordered. Each watch sold enjoy one year Warranty for free repair.
Every order from aaa-replica-watches is shipped via EMS, the customer
is responsible for the shipping fee on the first order, but since the
second watch you buy from our site, the shipping cost is free. Please
note that If the total amount of payment is over $600(USD), the
customer is required to contact our customer service before sending
the money in case failed payment. If you have any other questions
please check our other pages or feel free to email us by service@aaa-
replica-watch.com.
The Same Gucci Watches Series :
Gucci 3905 Series Ladies watch 23928 :
http://www.aaa-replica.com/Gucci_23928.html
Gucci 3905 Series Womens Watch 23975 :
http://www.aaa-replica.com/Gucci_23975.html
Gucci 3905 Series Ladies watch 23934 :
http://www.aaa-replica.com/Gucci_23934.html
Gucci 5500 Series Mens Watch 15535 :
http://www.aaa-replica.com/Gucci_15535.html
Gucci 5500 Series Steel Mens Watch YA005203 :
http://www.aaa-replica.com/Gucci_YA055203.html
Gucci 5500 Series Mens Watch ya055303 :
http://www.aaa-replica.com/Gucci_15537.html
Gucci 5500 Series Steel Mens Watch YA055201 :
http://www.aaa-replica.com/Gucci_YA055201.html
Gucci 5500 Series Mens Watch ya055305 :
http://www.aaa-replica.com/Gucci_15565.html
Gucci 5500 Series Steel Ladies Watch YA055513 :
http://www.aaa-replica.com/Gucci_YA055513.html
Gucci 5500 Series Two-Tone Steel Ladies Watch YA055515 :
http://www.aaa-replica.com/Gucci_YA055515.html
Gucci 5500 Series Steel Ladies Watch YA055514 :
http://www.aaa-replica.com/Gucci_YA055514.html
Gucci 5505 Gold-Tone Stainless White Watch YA055214 :
http://www.aaa-replica.com/gucci_g_class_gold_tone_watch_YA055214.html
|
|
|