as per the information provided by you , the pain and ulceration at the injection and the filling site is due to the the procedure of filling only.
the ulceration and swelling will go within few days if the tooth in question is not deeply carious.
the other symptoms you feel might be due to allergic reaction
to the anesthetic
used to numb the operating site.
tell about these symptoms to your dentist
and he will suggest you some anti-allergic
all these symptoms will go with in a week time.