|
actually itext sharp not supporting directly some font family like 'Locida Console' but I got one solution that we can give path to font file that is place by default in drive where os is installed.
like: if OS is installed on C drive means - I want path="C:\\WINDOWS\\Fonts\\" so just I want to know drive only to resolve this issue.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
your solution might work on your development environment but I'm quite sure it won't work on production server if it's third party's.
|
|
|
|
|
thanks for your kind response.
now I have got solution.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
trilokharry wrote: now I have got solution.
Then Why Dont you share with Other..!May Be It will Helpul to others..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
You cannot access files on your clients host computer, what fonts they have installed is irrelevant. I'd bet anything that the solution you found will not work when you deploy to a real server.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hiii i m using access db and i have created my own login form.
I want that without login in user cannot go to my admin page.
hw can i do this...
plz guide...
|
|
|
|
|
What have you tried ? Do you know anything about SQL ? How do you intend to limit access to the login page ? I assume this is a class, it gives me the shivers to think that someone would write a secure system and yet be so lost as to ask a question like this. So, what resources has your teacher given you ? Have you read them ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
i knw sql but i have created my own login table in access 2007 db.
|
|
|
|
|
I also see from your profile that you're writing this for work, which is a disgrace. Someone's security system will be written by someone who had to ask in an online forum because they had not the first clue how to write such a thing ? Disgusting.
You've been here for a bit and asked a lot of questions, surely you know what the session object is ? The rest of it seems trivial to me. Where are you stuck ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
sir i know session and i have used it.there's no pre init event in asp.net.
i dont know how to session for this case.plz give me exact answer...abut my problem.
|
|
|
|
|
mylogics wrote: .there's no pre init event in asp.net.
I never said there was, but in 3.5, there is. So ? Did someone answer you once before and tell you to use the pre init event ? If you're using an older framework, you should say so up front so that the answers match what you're using.
mylogics wrote: .plz give me exact answer...abut my problem.
The answer is that what you're doing is ridiculous and you should tell the client you are stealing from them. Security is NOT something that should be put together by someone who doesn't even know how to start. It's the part of the site people will actually TRY to break.
Think about it for a minute. You have a database, you have SQL. You can surely work out how to check the username/password that someone enters. How might you use the session then to control access to the admin areas ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
LOL - it always ends with you guys saying thanks, then a week later you post the same question again. Are you planning on refunding the client's money, or are you planning on buying a book and trying to become an actual web programmer in a hurry ? Or did you actually work out how to do it from the explanation I gave you ? Either way, for the guy who writes the security system for a website to have to ask on the most basic level how to do it, is beyond pathetic. There's nothing wrong with being a learner - I post here to help people who are learning, but your profile says you are working as an ASP.NET developer, so I can only assume you're charging people for your attempts at learning, which in your mind is apparently asking me for code. If you give me 50% of the money you're being paid for this portion of the job, I'd be happy to post the code. Heck, if you'd posted with some code you'd tried and a specific question, I'd have been a lot happier to help. 'I'm being paid and I don't have a clue, give me code' is, on the other hand, unacceptable.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
the exception was generated when i was trying to assign a textbox value to a gridview.
How to resolve this problem.
|
|
|
|
|
Flavia A wrote: Index was out of range. Must be non-negative and less than the size of the collection.
That explains what you have to do. Keep the index in the array size limit.
Best wishes,
Navaneeth
|
|
|
|
|
Flavia A wrote: How to resolve this problem.
What do YOU think this plain English message means ? Did you consider that if you're really not smart enough to work this out, you probably need to post your code and hope that someone here will help you ? We can't do more based on what you posted than point out that the message means what it says.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Gosh - this was a repost. Don't post again when we can see the original question. You get to be pushy when you're paying people to do your work for you.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
can we directly assign a value to a particular cell of row in the gridview.
using the select statement
select 'flavia' as name, 'A'as surname i bound the data to the gridview..
but on the selected Index changed of the grid view i want the data to be displayed in the text boxes ..which i managed using the
gridview1.SelectedRow.cells[1].text= txtName.text;
but after modifying the textbox txtName
for (i = 0; i < GridView3.Rows.Count; i++)
{
string b
if (GridView3.Rows[i].Cells[1].Text.ToString()== s)
{
GridView1.Rows[i].Cells[1].Text = txtName.Text;
}
}
but it is giving an exception
{System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection}
|
|
|
|
|
Flavia A wrote: {System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection}
Do you know how to use the debugger ? Do you have any understanding of English ? Obviously one of your rows does not have 2 cells in it, for some reason. That's a guess, if you used the debugger, you should be able to work it out AND tell us what line blows up if you need to.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
We have RSA Authenticators (tokens) for a website we're working on. Originally the site was created with a membership provider model with a user name and password. Right now the RSA portion works, and after inputting the user name and token code (the RSA login), the user is sent to our original login screen asking for user name and password (the .NET login).
Can we have the RSA portion go straight to the site so that users don't have to login through two different pages? The RSA user name and the user name for the website are exactly the same.
The current issue is how we pass the user name from the RSA login to our site, bypassing the login we had created. We're working with RSA to get a cookie working so we can grab the user name.
We don't know what to do with the user name once we get it from the cookie. How do we let the website know to let the user in without a password? Can we still use the rolls we have set up for the users? Some are admins, and some have other different permissions set based on their roll. Admins have extra pages only they can view.
~Mary
|
|
|
|
|
did you ever get anywhere with this? we are facing a similar issue, where the user logs in through rsa to get to the protected web content, and we'd like to somehow retrieve the username from the cookie, but are not sure how...
|
|
|
|
|
I have a Visual Studio 2008 ASP.NET application which needs to login to SQL Server 2005. I'm using "Integrated Security=SSPI" in my connection string. The app works fine from the Visual Studio environment, but when I try to run the deployed version on my test server, I get the following error: "Login failed for user ABC\ABCTEST$". (I have substituted ABC and ABCTEST for the actual values. ABC=Domain name. ABCTEST=Server name.) The test server is actually a virtual server. The web site on the test server is set up using Basic Authentication. Does anyone know why it is using the server name with a dollar sign tacked on to the end, in place of the user name?
|
|
|
|
|
why dont you create a new login for the instance for login and create a database user for this.
Create a login using
CREATE LOGIN [myuser]
WITH PASSWORD=N'password',
DEFAULT_DATABASE=[master],
CHECK_EXPIRATION=OFF,
CHECK_POLICY=OFF
After that create a User account in the database to login :
CREATE USER [AccUser] FOR LOGIN [myuser]
ALTER AUTHORIZATION ON SCHEMA::[db_owner] TO [AccUser]
Now login to the SQL server using
uid=AccUser;pwd=password
with integrated security =false.
I think you can login.
|
|
|
|
|
Because where I work we need to use integrated security with existing network group accounts. The user's permissions within the database depend on what group they are a member of.
|
|
|
|
|
Hello There;
I am trying to view my report files on CrystalReport viewer in ASP.NET programmatically by using the code blow;
Note that Reports are located on a file server.
CrystalReportSource reportsource = new CrystalReportSource();
CrystalDecisions.Web.Report report = new CrystalDecisions.Web.Report();
Guid reportid = new Guid(Request.QueryString["GUID"]);
string path = Server.MapPath("/Reports/") + dc.Reports.Where(k => k.OID == reportid).First().FileContent;
report.FileName = path;
reportsource.Report = report;
CrystalReportViewer1.ReportSource = reportsource;
It is loaded to the viewer perfectly. However, if I attempt to go to the next page or trying to set parameter via parameters panel or if it has any group tree or parameter, when I try to expand any node of the group tree, it says No valid report source is available. but if I do it via CrystaReportSource wizard there is no problem at all.
what do I miss here?
thanks for your help.
regards.
Note: I could not find any crystal report forum category to post my question, that is why I have posted here...
|
|
|
|